diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:16:29 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:16:29 -0600 |
commit | c474b8f8c47d4c2972106ba388a609b435d82213 (patch) | |
tree | 954aec2b82f83173660f7eb1ba649617615b2584 /lib/kofficecore/KoDocumentInfoDlg.cpp | |
parent | 8418c2f640d86282c41b7488c359d3ddb0c8d36d (diff) | |
download | koffice-c474b8f8c47d4c2972106ba388a609b435d82213.tar.gz koffice-c474b8f8c47d4c2972106ba388a609b435d82213.zip |
Rename KABC namespace
Diffstat (limited to 'lib/kofficecore/KoDocumentInfoDlg.cpp')
-rw-r--r-- | lib/kofficecore/KoDocumentInfoDlg.cpp | 14 |
1 files changed, 7 insertions, 7 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() ); |