KABC::LDIFConverter Namespace Reference
Detailed Description
A set of functions to convert a string with LDIF information to addressees and vice versa.It is useful for addressbook import- and exportfilters and might be used to read and write Mozilla and Netscape addresssbooks.
Functions | |
KABC_EXPORT bool | LDIFToAddressee (const QString &str, AddresseeList &addrList, QDateTime dt=QDateTime::currentDateTime()) |
KABC_EXPORT bool | addresseeToLDIF (const AddresseeList &addrList, QString &str) |
KABC_EXPORT bool | addresseeToLDIF (const Addressee &addr, QString &str) |
KABC_EXPORT QString | makeLDIFfieldString (QString field, QString value, bool allowEncode=true) KDE_DEPRECATED |
KABC_EXPORT bool | parseSingleLine (Addressee &a, Address &homeAddr, Address &workAddr, QString &line) |
KABC_EXPORT bool | splitLine (QString &line, QString &fieldname, QString &value) |
KABC_EXPORT bool | evaluatePair (Addressee &a, Address &homeAddr, Address &workAddr, QString &fieldname, QString &value) |
Function Documentation
|
Converts an addressee to a LDIF string.
Definition at line 78 of file ldifconverter.cpp. |
|
Converts a list of addressees to a LDIF string.
Definition at line 56 of file ldifconverter.cpp. |
|
Converts a LDIF string to a list of addressees.
Definition at line 163 of file ldifconverter.cpp. |
|
Definition at line 519 of file ldifconverter.cpp. |
|
No need for this function anymore - use LDIF::splitLine() + evaluatePair().
Definition at line 495 of file ldifconverter.cpp. |
|
No need for this function anymore - use LDIF::splitLine().
Definition at line 510 of file ldifconverter.cpp. |