author | zautrix <zautrix> | 2005-01-18 19:25:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-18 19:25:46 (UTC) |
commit | 541a04d084d7514a31c9ec88afe6c0ee7add7b85 (patch) (side-by-side diff) | |
tree | 19967716d30d6bcb7b30e71b11e6d192e228ad86 /kabc/plugins/sharpdtm | |
parent | 790533d303665e27f183b941df88b389afb92d0a (diff) | |
download | kdepimpi-541a04d084d7514a31c9ec88afe6c0ee7add7b85.zip kdepimpi-541a04d084d7514a31c9ec88afe6c0ee7add7b85.tar.gz kdepimpi-541a04d084d7514a31c9ec88afe6c0ee7add7b85.tar.bz2 |
kapi trans
-rw-r--r-- | kabc/plugins/sharpdtm/sharpdtmconverter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/plugins/sharpdtm/sharpdtmconverter.cpp b/kabc/plugins/sharpdtm/sharpdtmconverter.cpp index 8165b4c..95e16b6 100644 --- a/kabc/plugins/sharpdtm/sharpdtmconverter.cpp +++ b/kabc/plugins/sharpdtm/sharpdtmconverter.cpp @@ -78,13 +78,13 @@ bool SharpDTMConverter::sharpToAddressee( const CardId &contact, const SlZDataBa addr.setTempSyncStat( SYNC_TEMPSTATE_NEW_EXTERNAL ); // name //qDebug("SharpDTMConverter::sharpToAddressee check if the fileAs transformation works!!"); addr.setFormattedName(db->readField(ZdbAdrs::FileAs)); - addr.setName(db->readField(ZdbAdrs::FullName)); + //addr.setName(db->readField(ZdbAdrs::FullName)); addr.setFamilyName( db->readField(ZdbAdrs::LastName) ); addr.setGivenName( db->readField(ZdbAdrs::FirstName) ); addr.setAdditionalName( db->readField(ZdbAdrs::MiddleName) ); addr.setPrefix( db->readField(ZdbAdrs::Title) ); addr.setSuffix( db->readField(ZdbAdrs::Suffix) ); @@ -299,13 +299,13 @@ bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, SlZDataBase* da formattedName += addr.givenName(); } } else formattedName = addr.givenName(); } database->writeField(ZdbAdrs::FileAs, formattedName); - database->writeField(ZdbAdrs::FullName, addr.name()); + database->writeField(ZdbAdrs::FullName, formattedName); // email //qDebug("SharpDTMConverter::addresseeToSharp check which seperator we need here for the emails!!"); //qDebug("SharpDTMConverter::addresseeToSharp its probably the same from sharpToAddressee"); QString emails = addr.emails().join(" "); database->writeField(ZdbAdrs::Emails, emails ); |