KABC::VCard Class Reference

List of all members.

Detailed Description

Definition at line 31 of file vcard.h.


Public Types

enum  Version { v2_1, v3_0 }
typedef QValueList< VCardList
typedef QMap< QString, VCardLine::ListLineMap

Public Member Functions

 VCard ()
 VCard (const VCard &)
 ~VCard ()
VCardoperator= (const VCard &)
void clear ()
QStringList identifiers () const
void addLine (const VCardLine &line)
VCardLine::List lines (const QString &identifier) const
VCardLine line (const QString &identifier) const
void setVersion (Version version)
Version version () const

Member Function Documentation

void VCard::clear (  ) 

Removes all lines from the vCard.

Definition at line 48 of file vcard.cpp.

QStringList VCard::identifiers (  )  const

Returns a list of all identifiers that exists in the vCard.

Definition at line 53 of file vcard.cpp.

void VCard::addLine ( const VCardLine line  ) 

Adds a VCardLine to the VCard.

Definition at line 58 of file vcard.cpp.

VCardLine::List VCard::lines ( const QString identifier  )  const

Returns all lines of the vcard with a special identifier.

Definition at line 63 of file vcard.cpp.

VCardLine VCard::line ( const QString identifier  )  const

Returns only the first line of the vcard with a special identifier.

Definition at line 72 of file vcard.cpp.

void VCard::setVersion ( Version  version  ) 

Set the version of the vCard.

Definition at line 84 of file vcard.cpp.

VCard::Version VCard::version (  )  const

Returns the version of this vCard.

Definition at line 98 of file vcard.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys