summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:15:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:15:06 -0600
commit364a0aa79c0cd88144370ff1bf50785197aecb3a (patch)
tree56c563886ed21206e4ab475fde33868c08d45bfb /kmymoney2/dialogs
parentdd432f6c2993a3447a9ada82dbe5cd6034bd5b05 (diff)
downloadkmymoney-364a0aa79c0cd88144370ff1bf50785197aecb3a.tar.gz
kmymoney-364a0aa79c0cd88144370ff1bf50785197aecb3a.zip
Rename KABC namespace
Diffstat (limited to 'kmymoney2/dialogs')
-rw-r--r--kmymoney2/dialogs/knewfiledlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/knewfiledlg.cpp b/kmymoney2/dialogs/knewfiledlg.cpp
index 79b9752..f9ec0a7 100644
--- a/kmymoney2/dialogs/knewfiledlg.cpp
+++ b/kmymoney2/dialogs/knewfiledlg.cpp
@@ -75,8 +75,8 @@ void KNewFileDlg::init(const TQString& title)
setCaption(title);
#if KDE_IS_VERSION( 3, 1, 90 )
- KABC::StdAddressBook *ab = static_cast<KABC::StdAddressBook*>
- ( KABC::StdAddressBook::self() );
+ TDEABC::StdAddressBook *ab = static_cast<TDEABC::StdAddressBook*>
+ ( TDEABC::StdAddressBook::self() );
if ( ab && !ab->whoAmI().isEmpty() )
showLoadButton = true;
#endif
@@ -110,12 +110,12 @@ void KNewFileDlg::okClicked()
void KNewFileDlg::loadFromKABC(void)
{
#if KDE_IS_VERSION( 3, 1, 90 )
- 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(this, i18n("Unable to load data, because no contact has been associated with the owner of the standard addressbook."), i18n("Addressbook import"));
return;
@@ -124,10 +124,10 @@ void KNewFileDlg::loadFromKABC(void)
userNameEdit->setText( addr.formattedName() );
emailEdit->setText( addr.preferredEmail() );
- KABC::PhoneNumber phone = addr.phoneNumber( KABC::PhoneNumber::Home );
+ TDEABC::PhoneNumber phone = addr.phoneNumber( TDEABC::PhoneNumber::Home );
telephoneEdit->setText( phone.number() );
- KABC::Address a = addr.address( KABC::Address::Home );
+ TDEABC::Address a = addr.address( TDEABC::Address::Home );
countyEdit->setText( a.country() + " / " + a.region() );
postcodeEdit->setText( a.postalCode() );
townEdit->setText( a.locality() );