KABC::LDIFConverter Namespace Reference
A set of functions to convert a string with LDIF information to addressees and vice versa. More...
| Functions | |
| bool | LDIFToAddressee (const QString &str, AddresseeList &addrList, QDateTime dt=QDateTime::currentDateTime()) | 
| bool | addresseeToLDIF (const AddresseeList &addrList, QString &str) | 
| bool | addresseeToLDIF (const Addressee &addr, QString &str) | 
| QString | makeLDIFfieldString (QString field, QString value, bool allowEncode=true) | 
| bool | parseSingleLine (Addressee &a, Address &homeAddr, Address &workAddr, QString &line) | 
| bool | splitLine (QString &line, QString &fieldname, QString &value) | 
| bool | evaluatePair (Addressee &a, Address &homeAddr, Address &workAddr, QString &fieldname, QString &value) | 
Detailed Description
A set of functions to convert a string with LDIF information to addressees and vice versa.ble for searches on LDAP servers, for addressbook import- and exportfilters and might be used to read and write Mozilla and Netscape addresssbooks.
Function Documentation
| 
 | ||||||||||||||||
| Converts a LDIF string to a list of addressees. 
 
 
 | 
| 
 | ||||||||||||
| Converts a list of addressees to a LDIF string. 
 
 
 | 
| 
 | ||||||||||||
| Converts an addressee to a LDIF string. 
 
 
 | 
| 
 | ||||||||||||||||
| Returns a LDIF compatible string representing a given field/value pair. If necessary, the value parameter will be base64encoded and split into multiple. This function will return an empty string if the given value is empty. 
 
 
 | 

