diff options
Diffstat (limited to 'kmail/keyresolver.cpp')
-rw-r--r-- | kmail/keyresolver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/keyresolver.cpp b/kmail/keyresolver.cpp index 55459dd2a..1aa6f8772 100644 --- a/kmail/keyresolver.cpp +++ b/kmail/keyresolver.cpp @@ -1769,11 +1769,11 @@ Kleo::KeyResolver::ContactPreferences Kleo::KeyResolver::lookupContactPreference if ( it != d->mContactPreferencesMap.end() ) return it->second; - KABC::AddressBook *ab = KABC::StdAddressBook::self( true ); - const KABC::Addressee::List res = ab->findByEmail( address ); + TDEABC::AddressBook *ab = TDEABC::StdAddressBook::self( true ); + const TDEABC::Addressee::List res = ab->findByEmail( address ); ContactPreferences pref; if ( !res.isEmpty() ) { - KABC::Addressee addr = res.first(); + TDEABC::Addressee addr = res.first(); TQString encryptPref = addr.custom( "KADDRESSBOOK", "CRYPTOENCRYPTPREF" ); pref.encryptionPreference = Kleo::stringToEncryptionPreference( encryptPref ); TQString signPref = addr.custom( "KADDRESSBOOK", "CRYPTOSIGNPREF" ); @@ -1791,10 +1791,10 @@ Kleo::KeyResolver::ContactPreferences Kleo::KeyResolver::lookupContactPreference void Kleo::KeyResolver::saveContactPreference( const TQString& email, const ContactPreferences& pref ) const { d->mContactPreferencesMap.insert( std::make_pair( email, pref ) ); - KABC::AddressBook *ab = KABC::StdAddressBook::self( true ); - KABC::Addressee::List res = ab->findByEmail( email ); + TDEABC::AddressBook *ab = TDEABC::StdAddressBook::self( true ); + TDEABC::Addressee::List res = ab->findByEmail( email ); - KABC::Addressee addr; + TDEABC::Addressee addr; if ( res.isEmpty() ) { bool ok = true; TQString fullName = KInputDialog::getText( i18n( "Name Selection" ), i18n( "Which name shall the contact '%1' have in your addressbook?" ).arg( email ), TQString(), &ok ); @@ -1813,7 +1813,7 @@ void Kleo::KeyResolver::saveContactPreference( const TQString& email, const Cont addr.insertCustom( "KADDRESSBOOK", "SMIMEFP", pref.smimeCertFingerprints.join( "," ) ); ab->insertAddressee( addr ); - KABC::Ticket *ticket = ab->requestSaveTicket( addr.resource() ); + TDEABC::Ticket *ticket = ab->requestSaveTicket( addr.resource() ); if ( ticket ) ab->save( ticket ); |