diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /kmail/kmsearchpattern.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'kmail/kmsearchpattern.cpp')
-rw-r--r-- | kmail/kmsearchpattern.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/kmsearchpattern.cpp b/kmail/kmsearchpattern.cpp index 90bc22a72..d1d47daf0 100644 --- a/kmail/kmsearchpattern.cpp +++ b/kmail/kmsearchpattern.cpp @@ -449,7 +449,7 @@ bool KMSearchRuleString::matchesInternal( const TQString & msgContents ) const return ( TQString::compare( msgContents.lower(), contents().lower() ) >= 0 ); case FuncIsInAddressbook: { - KABC::AddressBook *stdAb = KABC::StdAddressBook::self( true ); + TDEABC::AddressBook *stdAb = TDEABC::StdAddressBook::self( true ); TQStringList addressList = KPIM::splitEmailAddrList( msgContents.lower() ); for( TQStringList::ConstIterator it = addressList.begin(); @@ -462,7 +462,7 @@ bool KMSearchRuleString::matchesInternal( const TQString & msgContents ) const } case FuncIsNotInAddressbook: { - KABC::AddressBook *stdAb = KABC::StdAddressBook::self( true ); + TDEABC::AddressBook *stdAb = TDEABC::StdAddressBook::self( true ); TQStringList addressList = KPIM::splitEmailAddrList( msgContents.lower() ); for( TQStringList::ConstIterator it = addressList.begin(); @@ -477,13 +477,13 @@ bool KMSearchRuleString::matchesInternal( const TQString & msgContents ) const case FuncIsInCategory: { TQString category = contents(); TQStringList addressList = KPIM::splitEmailAddrList( msgContents.lower() ); - KABC::AddressBook *stdAb = KABC::StdAddressBook::self( true ); + TDEABC::AddressBook *stdAb = TDEABC::StdAddressBook::self( true ); for( TQStringList::ConstIterator it = addressList.begin(); it != addressList.end(); ++it ) { - KABC::Addressee::List addresses = stdAb->findByEmail( KPIM::getEmailAddress( *it ) ); + TDEABC::Addressee::List addresses = stdAb->findByEmail( KPIM::getEmailAddress( *it ) ); - for ( KABC::Addressee::List::Iterator itAd = addresses.begin(); itAd != addresses.end(); ++itAd ) + for ( TDEABC::Addressee::List::Iterator itAd = addresses.begin(); itAd != addresses.end(); ++itAd ) if ( (*itAd).hasCategory(category) ) return true; @@ -494,13 +494,13 @@ bool KMSearchRuleString::matchesInternal( const TQString & msgContents ) const case FuncIsNotInCategory: { TQString category = contents(); TQStringList addressList = KPIM::splitEmailAddrList( msgContents.lower() ); - KABC::AddressBook *stdAb = KABC::StdAddressBook::self( true ); + TDEABC::AddressBook *stdAb = TDEABC::StdAddressBook::self( true ); for( TQStringList::ConstIterator it = addressList.begin(); it != addressList.end(); ++it ) { - KABC::Addressee::List addresses = stdAb->findByEmail( KPIM::getEmailAddress( *it ) ); + TDEABC::Addressee::List addresses = stdAb->findByEmail( KPIM::getEmailAddress( *it ) ); - for ( KABC::Addressee::List::Iterator itAd = addresses.begin(); itAd != addresses.end(); ++itAd ) + for ( TDEABC::Addressee::List::Iterator itAd = addresses.begin(); itAd != addresses.end(); ++itAd ) if ( (*itAd).hasCategory(category) ) return false; |