diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/borrowerdialog.cpp | 8 | ||||
-rw-r--r-- | src/borrowerdialog.h | 4 | ||||
-rw-r--r-- | src/loandialog.cpp | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 0f45142..53220b2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -32,7 +32,7 @@ tellico_LDADD = ./core/libcore.a ./cite/libcite.a ./fetch/libfetch.a \ ./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a \ ./commands/libcommands.a -lexslt $(LIB_TDEFILE) $(LIB_TDEHTML) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) \ $(LIBSOCKET) $(LIBXSLT_LIBS) $(TAGLIB_LIBS) $(KCDDB_LIBS) $(YAZ_LIBS) $(LIB_KIO) \ - $(LIB_KABC) $(KCAL_LIBS) $(LDADD_LIBBTPARSE) $(LIB_KNEWSTUFF) $(EXEMPI_LIBS) \ + $(LIB_TDEABC) $(KCAL_LIBS) $(LDADD_LIBBTPARSE) $(LIB_KNEWSTUFF) $(EXEMPI_LIBS) \ $(POPPLER_LIBS) $(LDADD_LIBBARCODE) $(LIBXML_LIBS) EXTRA_DIST = tellicoui.rc tellicorc \ 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()) { diff --git a/src/borrowerdialog.h b/src/borrowerdialog.h index 4d520ef..ba2b64b 100644 --- a/src/borrowerdialog.h +++ b/src/borrowerdialog.h @@ -23,7 +23,7 @@ class KLineEdit; #include <tdelistview.h> #include <tqdict.h> -namespace KABC { +namespace TDEABC { class Addressee; } @@ -61,7 +61,7 @@ private: class Item : public TDEListViewItem { public: - Item(TDEListView* parent, const KABC::Addressee& addressee); + Item(TDEListView* parent, const TDEABC::Addressee& addressee); Item(TDEListView* parent, const Data::Borrower& borrower); const TQString& uid() const { return m_uid; } diff --git a/src/loandialog.cpp b/src/loandialog.cpp index 0e9d538..fcaed2c 100644 --- a/src/loandialog.cpp +++ b/src/loandialog.cpp @@ -160,7 +160,7 @@ void LoanDialog::init() { resize(configDialogSize(TQString::fromLatin1("Loan Dialog Options"))); - 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*)), @@ -193,8 +193,8 @@ void LoanDialog::slotGetBorrower() { void LoanDialog::slotLoadAddressBook() { m_borrowerEdit->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) { m_borrowerEdit->completionObject()->addItem((*it).realName()); } |