KABC::VCard21Parser Class Reference
#include <vcard21parser.h>
Detailed Description
- Deprecated:
- use VCardConverter instead.
Definition at line 142 of file vcard21parser.h.
Public Member Functions | |
VCard21Parser () | |
virtual | ~VCard21Parser () |
void | readFromString (KABC::AddressBook *ab, const QString &str) |
KABC::Addressee | readFromString (const QString &data) |
Static Public Member Functions | |
static KABC::Address | readAddressFromQStringList (const QStringList &data, const int type) |
Constructor & Destructor Documentation
VCard21Parser::VCard21Parser | ( | ) |
VCard21Parser::~VCard21Parser | ( | ) | [virtual] |
Member Function Documentation
KABC::Address VCard21Parser::readAddressFromQStringList | ( | const QStringList & | data, | |
const int | type | |||
) | [static] |
Helper method to store a address.
- Parameters:
-
data A string list, that is filled with 'street', 'house number' ... type The type of the returned address.
Definition at line 370 of file vcard21parser.cpp.
KABC::Addressee VCard21Parser::readFromString | ( | const QString & | data | ) |
Parses a string in vcard2.1 format and returns the inherent addressee.
Definition at line 208 of file vcard21parser.cpp.
void VCard21Parser::readFromString | ( | KABC::AddressBook * | ab, | |
const QString & | str | |||
) |
Parses a string in vcard2.1 format and saves the single addressees to the address book.
- Parameters:
-
ab The address book. str The vcard string.
Definition at line 202 of file vcard21parser.cpp.
The documentation for this class was generated from the following files: