digikam
Digikam::DItemDrag Class Reference
Provides a drag object for a list of KURLs with its related database IDs. More...
#include <ddragobjects.h>

Public Member Functions | |
| DItemDrag (const KUrl::List &urls, const KUrl::List &kioURLs, const QList< int > &albumIDs, const QList< int > &imageIDs) | |
Static Public Member Functions | |
| static bool | canDecode (const QMimeData *e) |
| static bool | decode (const QMimeData *e, KUrl::List &urls, KUrl::List &kioURLs, QList< int > &albumIDs, QList< int > &imageIDs) |
| static QStringList | mimeTypes () |
Detailed Description
Provides a drag object for a list of KURLs with its related database IDs.
Images can be moved through ItemDrag. It is possible to move them on another application which understands KURLDrag, like konqueror, to copy the images. digiKam can use the IDs, if ItemDrag is dropped on digikam itself. The kioURLs are internally used with the digikamalbums kioslave. The "normal" KURLDrag urls are used for external drops (k3b, gimp, ...)
Definition at line 56 of file ddragobjects.h.
Constructor & Destructor Documentation
| Digikam::DItemDrag::DItemDrag | ( | const KUrl::List & | urls, | |
| const KUrl::List & | kioURLs, | |||
| const QList< int > & | albumIDs, | |||
| const QList< int > & | imageIDs | |||
| ) |
Definition at line 37 of file ddragobjects.cpp.
Member Function Documentation
| bool Digikam::DItemDrag::canDecode | ( | const QMimeData * | e | ) | [static] |
Definition at line 78 of file ddragobjects.cpp.
| bool Digikam::DItemDrag::decode | ( | const QMimeData * | e, | |
| KUrl::List & | urls, | |||
| KUrl::List & | kioURLs, | |||
| QList< int > & | albumIDs, | |||
| QList< int > & | imageIDs | |||
| ) | [static] |
Definition at line 86 of file ddragobjects.cpp.
| QStringList Digikam::DItemDrag::mimeTypes | ( | ) | [static] |
Definition at line 68 of file ddragobjects.cpp.
The documentation for this class was generated from the following files:
KDE 4.5 API Reference