|
swift
|
Utilities for dropping swift value objects. More...
Public Member Functions | |
| virtual | ~CDropBase ()=default |
| Dtor. | |
| void | setAcceptedMetaTypeIds (const QList< int > &ids) |
| Accepted ids. | |
| void | addAcceptedMetaTypeId (int id) |
| Accepted ids. | |
| virtual bool | isDropAllowed () const |
| Drop allowed? | |
| virtual bool | isJsonFileDropAllowed () const |
| File drop allowed? | |
| virtual void | allowDrop (bool allowed) |
| Drop allowed. | |
| virtual void | allowJsonFileDrop (bool allow) |
| Allow JSON file drop. | |
| bool | acceptDrop (const QMimeData *mime) const |
| Accept drop? | |
| swift::misc::CVariant | toCVariant (const QMimeData *mime) const |
| Mime data to CVariant (normally encapsulating a value object) | |
Protected Member Functions | |
| CDropBase ()=default | |
| Ctor. | |
Utilities for dropping swift value objects.
Definition at line 18 of file dropbase.h.