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

libkdepim

KPIM::KVCardDrag

KPIM::KVCardDrag Class Reference

#include <kvcarddrag.h>

List of all members.


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]

Returns if drag&drop object can be decoded to vCard.

Definition at line 50 of file kvcarddrag.cpp.

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]

Mime-type of VCard.

Definition at line 28 of file kvcarddrag.cpp.

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

libkdepim

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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