KDE PIM / Developers / API Docs / libkdepim

KVCardDrag Class Reference

A drag-and-drop object for vcards. More...

#include <kvcarddrag.h>

Inherits QStoredDrag.

List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions


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.


Constructor & Destructor Documentation

KVCardDrag::KVCardDrag QWidget *  dragsource = 0,
const char *  name = 0
 

Constructs an empty vcard drag.

KVCardDrag::KVCardDrag const QString &  content,
QWidget *  dragsource = 0,
const char *  name = 0
 

Constructs a vcard drag with the addressee.


Member Function Documentation

void KVCardDrag::setVCard const QString &  content  ) 
 

Sets the vcard of the drag to content.

bool KVCardDrag::canDecode QMimeSource *  e  )  [static]
 

Returns true if the MIME source e contains a vcard object.

bool KVCardDrag::decode QMimeSource *  e,
QString &  content
[static]
 

Decodes the MIME source e and puts the resulting vcard into content.

bool KVCardDrag::decode QMimeSource *  e,
KABC::Addressee::List &  addressees
[static]
 

Decodes the MIME source e and puts the resulting vcard into addresseess.


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