KContacts::LDIFConverter
Functions | |
KCONTACTS_EXPORT bool | addresseeAndContactGroupToLDIF (const AddresseeList &addrList, const QVector< KContacts::ContactGroup > &contactGroupList, QString &str) |
KCONTACTS_EXPORT bool | addresseeToLDIF (const AddresseeList &addrList, QString &str) |
KCONTACTS_EXPORT bool | addresseeToLDIF (const Addressee &addr, QString &str) |
KCONTACTS_EXPORT bool | contactGroupToLDIF (const ContactGroup::List &contactGroupList, QString &str) |
KCONTACTS_EXPORT bool | contactGroupToLDIF (const ContactGroup &contactGroup, QString &str) |
KCONTACTS_EXPORT bool | LDIFToAddressee (const QString &str, AddresseeList &addrList, QVector< KContacts::ContactGroup > &contactGroupList, const QDateTime &dt=QDateTime::currentDateTime()) |
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.
Function Documentation
KCONTACTS_EXPORT bool KContacts::LDIFConverter::addresseeAndContactGroupToLDIF | ( | const AddresseeList & | addrList, |
const QVector< KContacts::ContactGroup > & | contactGroupList, | ||
QString & | str | ||
) |
Converts a list of addressees and contactgrouplist to a LDIF string.
- Parameters
-
addrList The addresseelist. contactGroupList The contact group list str The LDIF string.
bool KContacts::LDIFConverter::addresseeToLDIF | ( | const AddresseeList & | addrList, |
QString & | str | ||
) |
Converts a list of addressees to a LDIF string.
- Parameters
-
addrList The addresseelist. str The LDIF string.
Definition at line 114 of file ldifconverter.cpp.
Converts an addressee to a LDIF string.
- Parameters
-
addr The addressee. str The LDIF string.
Definition at line 129 of file ldifconverter.cpp.
bool KContacts::LDIFConverter::contactGroupToLDIF | ( | const ContactGroup::List & | contactGroupList, |
QString & | str | ||
) |
Converts a list of contact group to a LDIF string.
- Parameters
-
contactGroupList The contact group list str The LDIF string.
Definition at line 99 of file ldifconverter.cpp.
bool KContacts::LDIFConverter::contactGroupToLDIF | ( | const ContactGroup & | contactGroup, |
QString & | str | ||
) |
Converts a contact group to a LDIF string.
- Parameters
-
contactGroup The contact group str The LDIF string.
Definition at line 79 of file ldifconverter.cpp.
KCONTACTS_EXPORT bool KContacts::LDIFConverter::LDIFToAddressee | ( | const QString & | str, |
AddresseeList & | addrList, | ||
QVector< KContacts::ContactGroup > & | contactGroupList, | ||
const QDateTime & | dt = QDateTime::currentDateTime() |
||
) |
Converts a LDIF string to a list of addressees.
- Parameters
-
str The vcard string. addrList The addresseelist. contactGroupList the contactGroupList dt The date & time value of the last modification (e.g. file modification time).
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Jan 20 2021 22:58:57 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.