libkdepim
KPIM::KVCardDrag Class Reference
#include <kvcarddrag.h>
Detailed Description
A drag-and-drop object for vcards.The according MIME type is set to text/x-vcard.
See the Qt drag'n'drop documentation.
Definition at line 38 of file kvcarddrag.h.
Static Public Member Functions | |
| static bool | canDecode (const QMimeData *) |
| static bool | fromMimeData (const QMimeData *md, KABC::Addressee::List &addressees) |
| static bool | fromMimeData (const QMimeData *md, QByteArray &content) |
| static QString | mimeType () |
| static bool | populateMimeData (QMimeData *md, const KABC::Addressee::List &addressees) |
| static bool | populateMimeData (QMimeData *md, const QByteArray &content) |
Member Function Documentation
| bool KVCardDrag::canDecode | ( | const QMimeData * | md | ) | [static] |
| bool KVCardDrag::fromMimeData | ( | const QMimeData * | md, | |
| KABC::Addressee::List & | addressees | |||
| ) | [static] |
Decodes the MIME data md and puts the resulting vcard into addresseess.
Definition at line 64 of file kvcarddrag.cpp.
| bool KVCardDrag::fromMimeData | ( | const QMimeData * | md, | |
| QByteArray & | content | |||
| ) | [static] |
Decodes the drag&drop object to VCard component content.
Definition at line 55 of file kvcarddrag.cpp.
| QString KVCardDrag::mimeType | ( | ) | [static] |
| bool KVCardDrag::populateMimeData | ( | QMimeData * | md, | |
| const KABC::Addressee::List & | addressees | |||
| ) | [static] |
Adds the VCard representation as data of the drag object.
Definition at line 39 of file kvcarddrag.cpp.
| bool KVCardDrag::populateMimeData | ( | QMimeData * | md, | |
| const QByteArray & | content | |||
| ) | [static] |
Adds the VCard representation as data of the drag object.
Definition at line 33 of file kvcarddrag.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference