diff options
author | Timothy Pearson <[email protected]> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kmail/keyresolver.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
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 ); |