KABC::VCard Class Reference
List of all members.Public Types | |
typedef QValueList< VCard > | List |
typedef QMap< QString, VCardLine::List > | LineMap |
enum | Version { v2_1, v3_0 } |
Public Member Functions | |
VCard () | |
VCard (const VCard &) | |
~VCard () | |
VCard & | operator= (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 |
Detailed Description
Definition at line 31 of file vcard.h.
Member Function Documentation
|
Removes all lines from the vCard.
Definition at line 48 of file vcard.cpp. References QMap::clear(). Referenced by KABC::VCardParser::parseVCards(). |
|
Returns a list of all identifiers that exists in the vCard.
Definition at line 53 of file vcard.cpp. References QMap::keys(). |
|
Adds a VCardLine to the VCard.
Definition at line 58 of file vcard.cpp. References KABC::VCardLine::identifier(). Referenced by KABC::VCardTool::createVCards(), and KABC::VCardParser::parseVCards(). |
|
Returns all lines of the vcard with a special identifier.
Definition at line 63 of file vcard.cpp. References QMap< QString, VCardLine::List >::ConstIterator(), QMap::end(), and QMap::find(). |
|
Returns only the first line of the vcard with a special identifier.
Definition at line 72 of file vcard.cpp. References QMap< QString, VCardLine::List >::ConstIterator(), QMap::end(), and QMap::find(). Referenced by setVersion(), and version(). |
|
Set the version of the vCard.
Definition at line 84 of file vcard.cpp. References QMap::erase(), line(), and KABC::VCardLine::setIdentifier(). |
|
Returns the version of this vCard.
Definition at line 98 of file vcard.cpp. References QMap< QString, VCardLine::List >::ConstIterator(), QMap::end(), QMap::find(), line(), and KABC::VCardLine::value(). |
The documentation for this class was generated from the following files: