-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 @@ -57,25 +57,25 @@ bool SharpDTMConverter::init() return true; } 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() ); addr.setSuffix( contact.suffix() ); // email @@ -232,25 +232,25 @@ bool SharpDTMConverter::sharpToAddressee( const PimContact &contact, Addressee & QArray<int> catArray = contact.categories(); QString cat; for ( unsigned int i=0; i < catArray.size(); i++ ) { 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()); contact.setFileAs(); // email |