digiKam
|
Public Member Functions | |
DItemDrag (const QList< QUrl > &urls, const QList< int > &albumIDs, const QList< qlonglong > &imageIDs) | |
Static Public Member Functions | |
static bool | canDecode (const QMimeData *e) |
static bool | decode (const QMimeData *e, QList< QUrl > &urls, QList< int > &albumIDs, QList< qlonglong > &imageIDs) |
static QStringList | mimeTypes () |
Provides a drag object with additional information for internal drag&drop
Images can be moved through ItemDrag. It is possible to move them on another application which is supported through QT to e.g. copy the images. digiKam can use the IDs, if ItemDrag is dropped on digikam itself. The urls set via setUrls() are used for external drops (k3b, gimp, ...)
Digikam::DItemDrag::DItemDrag | ( | const QList< QUrl > & | urls, |
const QList< int > & | albumIDs, | ||
const QList< qlonglong > & | imageIDs | ||
) |
|
static |
References mimeTypes().
Referenced by Digikam::AlbumDragDropHandler::accepts(), Digikam::ImportDragDropHandler::accepts(), Digikam::ItemDragDropHandler::accepts(), Digikam::TagDragDropHandler::accepts(), Digikam::AlbumDragDropHandler::dropEvent(), Digikam::ImportDragDropHandler::dropEvent(), Digikam::ItemDragDropHandler::dropEvent(), Digikam::TagDragDropHandler::dropEvent(), and Digikam::FuzzySearchView::dropEvent().
|
static |