diff options
Diffstat (limited to 'kmail/kmaddrbook.cpp')
-rw-r--r-- | kmail/kmaddrbook.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmaddrbook.cpp b/kmail/kmaddrbook.cpp index 0772ccfba..6b7747382 100644 --- a/kmail/kmaddrbook.cpp +++ b/kmail/kmaddrbook.cpp @@ -37,8 +37,8 @@ void KabcBridge::addresses(TQStringList& result) // includes lists { KCursorSaver busy(KBusyPtr::busy()); // loading might take a while - KABC::AddressBook *addressBook = KABC::StdAddressBook::self( true ); - KABC::AddressBook::ConstIterator it; + TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self( true ); + TDEABC::AddressBook::ConstIterator it; for( it = addressBook->begin(); it != addressBook->end(); ++it ) { const TQStringList emails = (*it).emails(); TQString n = (*it).prefix() + " " + @@ -76,7 +76,7 @@ void KabcBridge::addresses(TQStringList& result) // includes lists } } } - KABC::DistributionListManager manager( addressBook ); + TDEABC::DistributionListManager manager( addressBook ); manager.load(); result += manager.listNames(); @@ -86,9 +86,9 @@ void KabcBridge::addresses(TQStringList& result) // includes lists TQStringList KabcBridge::addresses() { TQStringList entries; - KABC::AddressBook::ConstIterator it; + TDEABC::AddressBook::ConstIterator it; - const KABC::AddressBook *addressBook = KABC::StdAddressBook::self( true ); + const TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self( true ); for( it = addressBook->begin(); it != addressBook->end(); ++it ) { entries += (*it).fullEmail(); } @@ -102,8 +102,8 @@ TQString KabcBridge::expandNickName( const TQString& nickName ) return TQString(); const TQString lowerNickName = nickName.lower(); - const KABC::AddressBook *addressBook = KABC::StdAddressBook::self( true ); - for( KABC::AddressBook::ConstIterator it = addressBook->begin(); + const TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self( true ); + for( TDEABC::AddressBook::ConstIterator it = addressBook->begin(); it != addressBook->end(); ++it ) { if ( (*it).nickName().lower() == lowerNickName ) return (*it).fullEmail(); @@ -116,11 +116,11 @@ TQString KabcBridge::expandNickName( const TQString& nickName ) TQStringList KabcBridge::categories() { - KABC::AddressBook *addressBook = KABC::StdAddressBook::self( true ); - KABC::Addressee::List addresses = addressBook->allAddressees(); + TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self( true ); + TDEABC::Addressee::List addresses = addressBook->allAddressees(); TQStringList allcategories, aux; - for ( KABC::Addressee::List::Iterator it = addresses.begin(); + for ( TDEABC::Addressee::List::Iterator it = addresses.begin(); it != addresses.end(); ++it ) { aux = ( *it ).categories(); for ( TQStringList::ConstIterator itAux = aux.begin(); |