ldifconverter.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KABC_LDIFCONVERTER_H
00021 #define KABC_LDIFCONVERTER_H
00022
00023 #include <qstring.h>
00024 #include <qdatetime.h>
00025
00026 #include "addressee.h"
00027 #include "addresseelist.h"
00028
00029 namespace KABC {
00030
00037 namespace LDIFConverter {
00038
00047 bool LDIFToAddressee( const QString &str, AddresseeList &addrList, QDateTime dt = QDateTime::currentDateTime() );
00048
00056 bool addresseeToLDIF( const AddresseeList &addrList, QString &str );
00057
00065 bool addresseeToLDIF( const Addressee &addr, QString &str );
00066
00074
00075
00086 QString makeLDIFfieldString( QString field, QString value, bool allowEncode = true );
00087
00088
00089
00090
00091
00092 bool parseSingleLine( Addressee &a,
00093 Address &homeAddr, Address &workAddr, QString &line );
00094
00095
00096 bool splitLine( QString &line, QString &fieldname, QString &value);
00097
00098
00099 bool evaluatePair( Addressee &a, Address &homeAddr, Address &workAddr,
00100 QString &fieldname, QString &value );
00101
00102 }
00103
00104 }
00105 #endif
00106
This file is part of the documentation for kabc Library Version 3.2.3.