Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::VCardConverter Class Reference

#include <vcardconverter.h>

List of all members.

Public Types

enum  Version

Public Methods

 VCardConverter ()
 ~VCardConverter ()
bool vCardToAddressee (const QString &str, Addressee &addr, Version version=v3_0)
bool addresseeToVCard (const Addressee &addr, QString &str, Version version=v3_0)


Detailed Description

Class to convert a vcard string to a addressee and vice versa. At the moment there exists read support for vCard2.1 and vCard3.0 and write support for vCard3.0

Definition at line 35 of file vcardconverter.h.


Member Enumeration Documentation

enum KABC::VCardConverter::Version
 

  • v2_1 - VCard format version 2.1
  • v3_0 - VCard format version 3.0

Definition at line 43 of file vcardconverter.h.


Constructor & Destructor Documentation

KABC::VCardConverter::VCardConverter  
 

Constructor.

KABC::VCardConverter::~VCardConverter  
 

Destructor.


Member Function Documentation

bool KABC::VCardConverter::addresseeToVCard const Addressee   addr,
QString &    str,
Version    version = v3_0
 

Converts an addressee to a vcard string.

Parameters:
addr  The addressee.
str  The vcard string.
version  The version of the vcard string.

bool KABC::VCardConverter::vCardToAddressee const QString &    str,
Addressee   addr,
Version    version = v3_0
 

Converts a vcard string to an addressee.

Parameters:
str  The vcard string.
addr  The addressee.
version  The version of the vcard string.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:32 2003 for kdelibs by doxygen1.2.18