summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:16:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:16:29 -0600
commitc474b8f8c47d4c2972106ba388a609b435d82213 (patch)
tree954aec2b82f83173660f7eb1ba649617615b2584 /lib
parent8418c2f640d86282c41b7488c359d3ddb0c8d36d (diff)
downloadkoffice-c474b8f8c47d4c2972106ba388a609b435d82213.tar.gz
koffice-c474b8f8c47d4c2972106ba388a609b435d82213.zip
Rename KABC namespace
Diffstat (limited to 'lib')
-rw-r--r--lib/kofficecore/KoDocumentInfoDlg.cpp14
-rw-r--r--lib/kofficecore/Makefile.am2
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/kofficecore/KoDocumentInfoDlg.cpp b/lib/kofficecore/KoDocumentInfoDlg.cpp
index 44a79b14..90db30f8 100644
--- a/lib/kofficecore/KoDocumentInfoDlg.cpp
+++ b/lib/kofficecore/KoDocumentInfoDlg.cpp
@@ -134,13 +134,13 @@ KDialogBase *KoDocumentInfoDlg::dialog() const
void KoDocumentInfoDlg::loadFromKABC()
{
- KABC::StdAddressBook *ab = static_cast<KABC::StdAddressBook*>
- ( KABC::StdAddressBook::self() );
+ TDEABC::StdAddressBook *ab = static_cast<TDEABC::StdAddressBook*>
+ ( TDEABC::StdAddressBook::self() );
if ( !ab )
return;
- KABC::Addressee addr = ab->whoAmI();
+ TDEABC::Addressee addr = ab->whoAmI();
if ( addr.isEmpty() )
{
KMessageBox::sorry( 0L, i18n( "No personal contact data set, please use the option \
@@ -155,15 +155,15 @@ void KoDocumentInfoDlg::loadFromKABC()
d->m_authorWidget->leCompany->setText( addr.organization() );
d->m_authorWidget->leEmail->setText( addr.preferredEmail() );
- KABC::PhoneNumber phone = addr.phoneNumber( KABC::PhoneNumber::Home );
+ TDEABC::PhoneNumber phone = addr.phoneNumber( TDEABC::PhoneNumber::Home );
d->m_authorWidget->leTelephoneHome->setText( phone.number() );
- phone = addr.phoneNumber( KABC::PhoneNumber::Work );
+ phone = addr.phoneNumber( TDEABC::PhoneNumber::Work );
d->m_authorWidget->leTelephoneWork->setText( phone.number() );
- phone = addr.phoneNumber( KABC::PhoneNumber::Fax );
+ phone = addr.phoneNumber( TDEABC::PhoneNumber::Fax );
d->m_authorWidget->leFax->setText( phone.number() );
- KABC::Address a = addr.address( KABC::Address::Home );
+ TDEABC::Address a = addr.address( TDEABC::Address::Home );
d->m_authorWidget->leCountry->setText( a.country() );
d->m_authorWidget->lePostalCode->setText( a.postalCode() );
d->m_authorWidget->leCity->setText( a.locality() );
diff --git a/lib/kofficecore/Makefile.am b/lib/kofficecore/Makefile.am
index 45e1781c..22349ce7 100644
--- a/lib/kofficecore/Makefile.am
+++ b/lib/kofficecore/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = . tests
KDE_CXXFLAGS = $(USE_RTTI) $(WOVERLOADED_VIRTUAL)
INCLUDES= $(KSTORE_INCLUDES) $(KWMF_INCLUDES) $(all_includes)
libkofficecore_la_LIBADD = $(LIB_KSTORE) $(LIB_KOWMF) $(LIB_KPARTS) \
- $(LIB_TDEPRINT) $(LIB_KABC) $(LIB_KWMF) -lDCOP
+ $(LIB_TDEPRINT) $(LIB_TDEABC) $(LIB_KWMF) -lDCOP
####### Files