summaryrefslogtreecommitdiffstats
path: root/kmail/kmaddrbook.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /kmail/kmaddrbook.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'kmail/kmaddrbook.cpp')
-rw-r--r--kmail/kmaddrbook.cpp20
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();