author | ulf69 <ulf69> | 2004-07-17 00:42:35 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-17 00:42:35 (UTC) |
commit | aea3eb6a96f971af49d4a75586c98cbcbb883a76 (patch) (side-by-side diff) | |
tree | 91a6213d18a0f6cf0aaab2da94d4ffabf308a636 | |
parent | 8023ceff4cb170c0f8a46881345e7ea92674ef0e (diff) | |
download | kdepimpi-aea3eb6a96f971af49d4a75586c98cbcbb883a76.zip kdepimpi-aea3eb6a96f971af49d4a75586c98cbcbb883a76.tar.gz kdepimpi-aea3eb6a96f971af49d4a75586c98cbcbb883a76.tar.bz2 |
implementation of the sharp converter
-rw-r--r-- | kabc/converter/sharpdtm/sharpdtmconverter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/converter/sharpdtm/sharpdtmconverter.cpp b/kabc/converter/sharpdtm/sharpdtmconverter.cpp index b3e2ee1..4cf2eb3 100644 --- a/kabc/converter/sharpdtm/sharpdtmconverter.cpp +++ b/kabc/converter/sharpdtm/sharpdtmconverter.cpp @@ -61,17 +61,17 @@ void SharpDTMConverter::deinit() { if (catDB) { delete catDB; catDB = 0; } } -bool SharpDTMConverter::sharpToAddressee( const PimContact &contact, Addressee &addr ) +bool SharpDTMConverter::sharpToAddressee( const CardId &contact, const SlZDataBase* database, Addressee &addr ) { /*US // name addr.setFormattedName(contact.fileAs()); addr.setFamilyName( contact.lastName() ); addr.setGivenName( contact.firstName() ); addr.setAdditionalName( contact.middleName() ); addr.setPrefix( contact.nameTitle() ); @@ -236,17 +236,17 @@ bool SharpDTMConverter::sharpToAddressee( const PimContact &contact, Addressee & cat = catDB->label("contact", catArray[i]); if ( !cat.isEmpty() ) addr.insertCategory( cat ); } */ return true; } -bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, PimContact &contact ) +bool SharpDTMConverter::addresseeToSharp( const Addressee &addr, const SlZDataBase* database , const CardId &contact ) { /*US // name contact.setLastName(addr.familyName()); contact.setFirstName(addr.givenName()); contact.setMiddleName(addr.additionalName()); contact.setNameTitle(addr.prefix()); contact.setSuffix(addr.suffix()); |