summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs
diff options
context:
space:
mode:
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() );