digiKam
Digikam::DItemDrag Class Reference
+ Inheritance diagram for Digikam::DItemDrag:

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 ()
 

Detailed Description

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, ...)

Constructor & Destructor Documentation

◆ DItemDrag()

Digikam::DItemDrag::DItemDrag ( const QList< QUrl > &  urls,
const QList< int > &  albumIDs,
const QList< qlonglong > &  imageIDs 
)

Member Function Documentation

◆ canDecode()

◆ decode()

bool Digikam::DItemDrag::decode ( const QMimeData *  e,
QList< QUrl > &  urls,
QList< int > &  albumIDs,
QList< qlonglong > &  imageIDs 
)
static

◆ mimeTypes()


The documentation for this class was generated from the following files: