KDE PIM / Developers / API Docs / kaddressbook

AddresseeUtil Class Reference

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

#include <addresseeutil.h>

List of all members.

Static Public Member Functions


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.


Member Function Documentation

QString 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.

KABC::Addressee::List AddresseeUtil::clipboardToAddressees const QString &  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.

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

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


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