Rename KABC namespace

pull/1/head
Timothy Pearson 12 years ago
parent 5dc9215a33
commit bfa752755c

@ -56,8 +56,8 @@ void TagMailDlg::slotSelectAddress()
//Based on KMail
TQString addr, email, emailString;
TQStringList result;
KABC::AddressBook *addressBook = KABC::StdAddressBook::self();
KABC::AddressBook::Iterator it;
TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self();
TDEABC::AddressBook::Iterator it;
for( it = addressBook->begin(); it != addressBook->end(); ++it ) {
TQStringList emails = (*it).emails();
TQString n = (*it).prefix() + " " +

@ -153,9 +153,9 @@ void MemberEditDlg::slotSelectFromAddrBook()
TQMap<TQString, TQString> uidMap;
TQString name;
TQStringList result;
KABC::AddressBook *addressBook = KABC::StdAddressBook::self();
KABC::AddressBook::ConstIterator it;
KABC::AddressBook::ConstIterator end = addressBook->end();
TDEABC::AddressBook *addressBook = TDEABC::StdAddressBook::self();
TDEABC::AddressBook::ConstIterator it;
TDEABC::AddressBook::ConstIterator end = addressBook->end();
for( it = addressBook->begin(); it != end; ++it )
{
result.append((*it).assembledName());
@ -169,7 +169,7 @@ void MemberEditDlg::slotSelectFromAddrBook()
listDlg.setCaption(i18n("Select Member"));
if (!listDlg.exec()) return;
name = listDlg.getEntry();
KABC::Addressee entry = addressBook->findByUid(uidMap[name]);
TDEABC::Addressee entry = addressBook->findByUid(uidMap[name]);
nameCombo->insertItem(name, 1);
nameCombo->setCurrentItem(1);
emailEdit->setText(entry.emails()[0]);

@ -30,7 +30,7 @@ quanta_LDADD = $(top_builddir)/quanta/project/libproject.la \
$(top_builddir)/quanta/utility/libutility.la \
$(top_builddir)/lib/libquantamodule.la \
-lkatepartinterfaces $(LIB_KNEWSTUFF) $(LIB_KAFKA) $(LIB_CVSSERVICE) \
$(LIB_KMDI) $(LIBXML_LIBS) $(LIBXSLT_LIBS) $(LIB_KABC) $(LIB_KSPELL) $(LIB_TDEHTML) -lX11 -ltdefx
$(LIB_KMDI) $(LIBXML_LIBS) $(LIBXSLT_LIBS) $(LIB_TDEABC) $(LIB_KSPELL) $(LIB_TDEHTML) -lX11 -ltdefx
# $(top_builddir)/lib/compatibility/libcompat.la
AM_CPPFLAGS = -I$(top_srcdir)/quanta/dialogs \

Loading…
Cancel
Save