diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:17:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:17:34 -0600 |
commit | ed060e413241e381ab4971a79e4b97b54c4e3cbf (patch) | |
tree | cbc0d36b977557d312b31bbb8e858f16a27b0d0e /konversation/src/linkaddressbook/addressbook.cpp | |
parent | 65b54c8b5112a35c3d46a133d426a909bed2592d (diff) | |
download | konversation-ed060e413241e381ab4971a79e4b97b54c4e3cbf.tar.gz konversation-ed060e413241e381ab4971a79e4b97b54c4e3cbf.zip |
Rename KABC namespace
Diffstat (limited to 'konversation/src/linkaddressbook/addressbook.cpp')
-rw-r--r-- | konversation/src/linkaddressbook/addressbook.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/konversation/src/linkaddressbook/addressbook.cpp b/konversation/src/linkaddressbook/addressbook.cpp index 06fe441..ce89caa 100644 --- a/konversation/src/linkaddressbook/addressbook.cpp +++ b/konversation/src/linkaddressbook/addressbook.cpp @@ -36,7 +36,7 @@ namespace Konversation Addressbook::Addressbook() : DCOPObject( "KIMIface") { - addressBook = KABC::StdAddressBook::self(true); + addressBook = TDEABC::StdAddressBook::self(true); m_ticket=NULL; } Addressbook::~Addressbook() @@ -54,7 +54,7 @@ namespace Konversation TQStringList Addressbook::allContacts() { TQStringList contactUIDS; - for( KABC::AddressBook::Iterator it = addressBook->begin(); it != addressBook->end(); ++it ) + for( TDEABC::AddressBook::Iterator it = addressBook->begin(); it != addressBook->end(); ++it ) if(hasAnyNicks(*it)) contactUIDS.append((*it).uid()); return contactUIDS; } @@ -62,7 +62,7 @@ namespace Konversation TQStringList Addressbook::allContactsNicks() { TQStringList contacts; - for( KABC::AddressBook::Iterator it = addressBook->begin(); it != addressBook->end(); ++it ) + for( TDEABC::AddressBook::Iterator it = addressBook->begin(); it != addressBook->end(); ++it ) contacts += TQStringList::split( TQChar( 0xE000 ), (*it).custom("messaging/irc", "All") ); return contacts; } @@ -70,7 +70,7 @@ namespace Konversation TQStringList Addressbook::onlineContacts() { TQStringList contactUIDS; - for( KABC::AddressBook::Iterator it = addressBook->begin(); it != addressBook->end(); ++it ) + for( TDEABC::AddressBook::Iterator it = addressBook->begin(); it != addressBook->end(); ++it ) if(isOnline(*it)) contactUIDS.append((*it).uid()); return contactUIDS; @@ -215,7 +215,7 @@ namespace Konversation focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but did not specify any contact to send the message to. This is probably a bug in the other application.")); return; } - KABC::Addressee addressee = addressBook->findByUid(uid); + TDEABC::Addressee addressee = addressBook->findByUid(uid); if(addressee.isEmpty()) { focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation for instant messaging, but Konversation could not find the specified contact in the TDE address book.")); @@ -275,7 +275,7 @@ void Addressbook::sendFile(const TQString &uid, const KURL &sourceURL, const TQS focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation to send a file to a contact, but did not specify any contact to send the file to. This is probably a bug in the other application.")); return; } - KABC::Addressee addressee = addressBook->findByUid(uid); + TDEABC::Addressee addressee = addressBook->findByUid(uid); if(addressee.isEmpty()) { focusAndShowErrorMessage(i18n("Another TDE application tried to use Konversation to send a file to a contact, but Konversation could not find the specified contact in the TDE address book.")); |