|
|
|
@ -99,7 +99,7 @@ KABC::AddresseeList GMXXXPort::importContacts( const TQString& ) const
|
|
|
|
|
typedef TQMap<TQString, KABC::Addressee *> AddressMap;
|
|
|
|
|
AddressMap addrMap;
|
|
|
|
|
|
|
|
|
|
// "Address_id,Nickname,Firstname,Lastname,Title,Birthday,Comments,Change_date,tqStatus,Address_link_id,Categories"
|
|
|
|
|
// "Address_id,Nickname,Firstname,Lastname,Title,Birthday,Comments,Change_date,Status,Address_link_id,Categories"
|
|
|
|
|
line = gmxStream.readLine();
|
|
|
|
|
while (!line.startsWith("####") && !gmxStream.atEnd()) {
|
|
|
|
|
while (1) {
|
|
|
|
@ -264,7 +264,7 @@ void GMXXXPort::doExport( TQFile *fp, const KABC::AddresseeList &list )
|
|
|
|
|
|
|
|
|
|
t << "AB_ADDRESSES:\n";
|
|
|
|
|
t << "Address_id,Nickname,Firstname,Lastname,Title,Birthday,Comments,"
|
|
|
|
|
"Change_date,tqStatus,Address_link_id,Categories\n";
|
|
|
|
|
"Change_date,Status,Address_link_id,Categories\n";
|
|
|
|
|
|
|
|
|
|
int no = 0;
|
|
|
|
|
const TQChar DELIM('#');
|
|
|
|
@ -288,7 +288,7 @@ void GMXXXPort::doExport( TQFile *fp, const KABC::AddresseeList &list )
|
|
|
|
|
t << "AB_ADDRESS_RECORDS:\n";
|
|
|
|
|
t << "Address_id,Record_id,Street,Country,Zipcode,City,Phone,Fax,Mobile,"
|
|
|
|
|
"Mobile_type,Email,Homepage,Position,Comments,Record_type_id,Record_type,"
|
|
|
|
|
"Company,Department,Change_date,Preferred,tqStatus\n";
|
|
|
|
|
"Company,Department,Change_date,Preferred,Status\n";
|
|
|
|
|
|
|
|
|
|
no = 1;
|
|
|
|
|
while ( (addr = addrMap[no]) != NULL ) {
|
|
|
|
|