libkdepim
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 39 of file kvcarddrag.h.
Public Member Functions | |
| KVCardDrag (QWidget *dragsource=0, const char *name=0) | |
| KVCardDrag (const QString &content, QWidget *dragsource=0, const char *name=0) | |
| virtual | ~KVCardDrag () |
| void | setVCard (const QString &content) |
Static Public Member Functions | |
| static bool | canDecode (QMimeSource *e) |
| static bool | decode (QMimeSource *e, QString &content) |
| static bool | decode (QMimeSource *e, KABC::Addressee::List &addressees) |
Protected Member Functions | |
| virtual void | virtual_hook (int id, void *data) |
Constructor & Destructor Documentation
| KVCardDrag::KVCardDrag | ( | QWidget * | dragsource = 0, |
|
| const char * | name = 0 | |||
| ) |
| KVCardDrag::KVCardDrag | ( | const QString & | content, | |
| QWidget * | dragsource = 0, |
|||
| const char * | name = 0 | |||
| ) |
Member Function Documentation
| void KVCardDrag::setVCard | ( | const QString & | content | ) |
| bool KVCardDrag::canDecode | ( | QMimeSource * | e | ) | [static] |
Returns true if the MIME source e contains a vcard object.
Definition at line 46 of file kvcarddrag.cpp.
| bool KVCardDrag::decode | ( | QMimeSource * | e, | |
| QString & | content | |||
| ) | [static] |
Decodes the MIME source e and puts the resulting vcard into content.
Definition at line 51 of file kvcarddrag.cpp.
| bool KVCardDrag::decode | ( | QMimeSource * | e, | |
| KABC::Addressee::List & | addressees | |||
| ) | [static] |
Decodes the MIME source e and puts the resulting vcard into addresseess.
Definition at line 57 of file kvcarddrag.cpp.
The documentation for this class was generated from the following files:

