|
QtPass 2.0.0
Developer documentation
|
StoreModel, the filtering/sorting proxy over the store's QFileSystemModel, and StoreDragItem, the payload of a tree drag. More...
#include <QFileInfo>#include <QSortFilterProxyModel>#include <optional>Go to the source code of this file.
Classes | |
| struct | StoreDragItem |
| What a drag from the store tree carries: the kind of the dragged item and its path. More... | |
| class | StoreModel |
| QSortFilterProxyModel for filtering and displaying password store. More... | |
Functions | |
| auto | operator<< (QDataStream &out, const StoreDragItem &info) -> QDataStream & |
| Serialize a StoreDragItem for the QtPass MIME type. | |
| auto | operator>> (QDataStream &in, StoreDragItem &info) -> QDataStream & |
| Deserialize a StoreDragItem from the QtPass MIME type. | |
StoreModel, the filtering/sorting proxy over the store's QFileSystemModel, and StoreDragItem, the payload of a tree drag.
Definition in file storemodel.h.
| auto operator<< | ( | QDataStream & | out, |
| const StoreDragItem & | info ) -> QDataStream & |
Serialize a StoreDragItem for the QtPass MIME type.
| out | Stream to write to. |
| info | Drag/drop info to serialize. |
Definition at line 22 of file storemodel.cpp.
| auto operator>> | ( | QDataStream & | in, |
| StoreDragItem & | info ) -> QDataStream & |
Deserialize a StoreDragItem from the QtPass MIME type.
Unrecognised kind bytes resolve to ItemKind::Unknown rather than being rejected, so a future protocol bump remains decode-safe.
| in | Stream to read from. |
| info | Drag/drop info to populate. |
Definition at line 27 of file storemodel.cpp.