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

kaddressbook

AddresseeUtil Class Reference

#include <addresseeutil.h>

List of all members.


Detailed Description

This class provides some utility methods for transposing an addressee to different types (ie: clipboard).

This class is probably just temporary until these function stablize and move to KABC.

NOTE: Currently these methods are not implemented properly. The vCard parser in KABC needs to be updated and there is no way to get from KABC::Addressee to vCard.

Definition at line 40 of file addresseeutil.h.


Static Public Member Functions

static QByteArray addresseesToClipboard (const KABC::Addressee::List &addrList)
static QString addresseesToEmails (const KABC::Addressee::List &addrList)
static KABC::Addressee::List clipboardToAddressees (const QByteArray &clipboard)

Member Function Documentation

QByteArray AddresseeUtil::addresseesToClipboard ( const KABC::Addressee::List &  addrList  )  [static]

Same as above function, except that an entire list of KABC::Addressee objects will be converted to vCard and put in the string.

Definition at line 32 of file addresseeutil.cpp.

QString AddresseeUtil::addresseesToEmails ( const KABC::Addressee::List &  addrList  )  [static]

Converts the list of addressee objects into a list of email addresses.

Definition at line 46 of file addresseeutil.cpp.

KABC::Addressee::List AddresseeUtil::clipboardToAddressees ( const QByteArray &  clipboard  )  [static]

Convert a string from the clipboard into a list of addressee objects.

If the clipboard text was not a valid vcard, an empty list will be returned.

Definition at line 39 of file addresseeutil.cpp.


The documentation for this class was generated from the following files:
  • addresseeutil.h
  • addresseeutil.cpp

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • 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