author | zautrix <zautrix> | 2005-01-18 19:25:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-18 19:25:46 (UTC) |
commit | 541a04d084d7514a31c9ec88afe6c0ee7add7b85 (patch) (unidiff) | |
tree | 19967716d30d6bcb7b30e71b11e6d192e228ad86 /kabc | |
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 | |||
78 | addr.setTempSyncStat( SYNC_TEMPSTATE_NEW_EXTERNAL ); | 78 | addr.setTempSyncStat( SYNC_TEMPSTATE_NEW_EXTERNAL ); |
79 | 79 | ||
80 | 80 | ||
81 | // name | 81 | // name |
82 | //qDebug("SharpDTMConverter::sharpToAddressee check if the fileAs transformation works!!"); | 82 | //qDebug("SharpDTMConverter::sharpToAddressee check if the fileAs transformation works!!"); |
83 | addr.setFormattedName(db->readField(ZdbAdrs::FileAs)); | 83 | addr.setFormattedName(db->readField(ZdbAdrs::FileAs)); |
84 | addr.setName(db->readField(ZdbAdrs::FullName)); | 84 | //addr.setName(db->readField(ZdbAdrs::FullName)); |
85 | 85 | ||
86 | addr.setFamilyName( db->readField(ZdbAdrs::LastName) ); | 86 | addr.setFamilyName( db->readField(ZdbAdrs::LastName) ); |
87 | addr.setGivenName( db->readField(ZdbAdrs::FirstName) ); | 87 | addr.setGivenName( db->readField(ZdbAdrs::FirstName) ); |
88 | addr.setAdditionalName( db->readField(ZdbAdrs::MiddleName) ); | 88 | addr.setAdditionalName( db->readField(ZdbAdrs::MiddleName) ); |
89 | addr.setPrefix( db->readField(ZdbAdrs::Title) ); | 89 | addr.setPrefix( db->readField(ZdbAdrs::Title) ); |
90 | addr.setSuffix( db->readField(ZdbAdrs::Suffix) ); | 90 | addr.setSuffix( db->readField(ZdbAdrs::Suffix) ); |
@@ -299,13 +299,13 @@ bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, SlZDataBase* da | |||
299 | formattedName += addr.givenName(); | 299 | formattedName += addr.givenName(); |
300 | } | 300 | } |
301 | } else | 301 | } else |
302 | formattedName = addr.givenName(); | 302 | formattedName = addr.givenName(); |
303 | } | 303 | } |
304 | database->writeField(ZdbAdrs::FileAs, formattedName); | 304 | database->writeField(ZdbAdrs::FileAs, formattedName); |
305 | database->writeField(ZdbAdrs::FullName, addr.name()); | 305 | database->writeField(ZdbAdrs::FullName, formattedName); |
306 | 306 | ||
307 | 307 | ||
308 | //qDebug("SharpDTMConverter::addresseeToSharp check which seperator we need here for the emails!!"); | 308 | //qDebug("SharpDTMConverter::addresseeToSharp check which seperator we need here for the emails!!"); |
309 | //qDebug("SharpDTMConverter::addresseeToSharp its probably the same from sharpToAddressee"); | 309 | //qDebug("SharpDTMConverter::addresseeToSharp its probably the same from sharpToAddressee"); |
310 | QString emails = addr.emails().join(" "); | 310 | QString emails = addr.emails().join(" "); |
311 | database->writeField(ZdbAdrs::Emails, emails ); | 311 | database->writeField(ZdbAdrs::Emails, emails ); |