• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::DItemDrag

Digikam::DItemDrag Class Reference

Provides a drag object for a list of KURLs with its related database IDs. More...

#include <ddragobjects.h>

Inheritance diagram for Digikam::DItemDrag:
Inheritance graph
[legend]

List of all members.

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:
  • ddragobjects.h
  • ddragobjects.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal