diff options
Diffstat (limited to 'src/borrowerdialog.cpp')
-rw-r--r-- | src/borrowerdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/borrowerdialog.cpp b/src/borrowerdialog.cpp index 1a3b10c..fca07d2 100644 --- a/src/borrowerdialog.cpp +++ b/src/borrowerdialog.cpp @@ -25,7 +25,7 @@ using Tellico::BorrowerDialog; -BorrowerDialog::Item::Item(TDEListView* parent_, const KABC::Addressee& add_) +BorrowerDialog::Item::Item(TDEListView* parent_, const TDEABC::Addressee& add_) : TDEListViewItem(parent_), m_uid(add_.uid()) { setText(0, add_.realName()); setPixmap(0, SmallIcon(TQString::fromLatin1("kaddressbook"))); @@ -58,7 +58,7 @@ BorrowerDialog::BorrowerDialog(TQWidget* parent_, const char* name_/*=0*/) m_lineEdit->setFocus(); m_lineEdit->completionObject()->setIgnoreCase(true); - KABC::AddressBook* abook = KABC::StdAddressBook::self(true); + TDEABC::AddressBook* abook = TDEABC::StdAddressBook::self(true); connect(abook, TQT_SIGNAL(addressBookChanged(AddressBook*)), TQT_SLOT(slotLoadAddressBook())); connect(abook, TQT_SIGNAL(loadingFinished(Resource*)), @@ -73,8 +73,8 @@ void BorrowerDialog::slotLoadAddressBook() { m_itemDict.clear(); m_lineEdit->completionObject()->clear(); - const KABC::AddressBook* const abook = KABC::StdAddressBook::self(true); - for(KABC::AddressBook::ConstIterator it = abook->begin(), end = abook->end(); + const TDEABC::AddressBook* const abook = TDEABC::StdAddressBook::self(true); + for(TDEABC::AddressBook::ConstIterator it = abook->begin(), end = abook->end(); it != end; ++it) { // skip people with no name if((*it).realName().isEmpty()) { |