summaryrefslogtreecommitdiffstats
path: root/konversation/src/linkaddressbook/addressbook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/linkaddressbook/addressbook.cpp')
-rw-r--r--konversation/src/linkaddressbook/addressbook.cpp12
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."));