|
QtPass 2.0.0
Developer documentation
|
What a drag from the store tree carries: the kind of the dragged item and its path. More...
#include <storemodel.h>
Public Types | |
| enum class | ItemKind { Unknown , Directory , File } |
| Type of the dragged item. More... | |
Public Attributes | |
| ItemKind | kind {ItemKind::Unknown} |
| QString | path |
What a drag from the store tree carries: the kind of the dragged item and its path.
Travels as the kStoreDragMimeType payload (application/vnd.qtpass.store-item), serialised by operator<<() and read back by operator>>().
Definition at line 28 of file storemodel.h.
|
strong |
Type of the dragged item.
| Enumerator | |
|---|---|
| Unknown | Item type has not been determined yet |
| Directory | Dragged item is a directory |
| File | Dragged item is a file |
Definition at line 32 of file storemodel.h.
| ItemKind StoreDragItem::kind {ItemKind::Unknown} |
Type of dragged item
Definition at line 38 of file storemodel.h.
| QString StoreDragItem::path |
Full path to the dragged item
Definition at line 39 of file storemodel.h.