summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxport/pab_mapihd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/xxport/pab_mapihd.cpp')
-rw-r--r--kaddressbook/xxport/pab_mapihd.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/xxport/pab_mapihd.cpp b/kaddressbook/xxport/pab_mapihd.cpp
index 6d61cb339..9f1879b87 100644
--- a/kaddressbook/xxport/pab_mapihd.cpp
+++ b/kaddressbook/xxport/pab_mapihd.cpp
@@ -286,8 +286,8 @@ content_t pabfields_t::order(int k)
return tags[k].order();
}
-KABC::Addressee pabfields_t::get() {
- KABC::Addressee a;
+TDEABC::Addressee pabfields_t::get() {
+ TDEABC::Addressee a;
if (!givenName.isEmpty()) a.setFormattedName(givenName);
if (!email.isEmpty()) a.insertEmail(email);
if (!title.isEmpty()) a.setTitle(title);
@@ -295,7 +295,7 @@ KABC::Addressee pabfields_t::get() {
if (!additionalName.isEmpty()) a.setAdditionalName(additionalName);
if (!lastName.isEmpty()) a.setFamilyName(lastName);
- KABC::Address addr;
+ TDEABC::Address addr;
if (!address.isEmpty()) addr.setStreet(address);
if (!town.isEmpty()) addr.setLocality(town);
if (!zip.isEmpty()) addr.setPostalCode(zip);
@@ -306,10 +306,10 @@ KABC::Addressee pabfields_t::get() {
if (!organization.isEmpty()) a.setOrganization(organization);
if (!department.isEmpty()) a.setRole(department);
// Miss out department, subDep, job
- if (!tel.isEmpty()) a.insertPhoneNumber( KABC::PhoneNumber( tel, KABC::PhoneNumber::Voice ) );
- if (!fax.isEmpty()) a.insertPhoneNumber( KABC::PhoneNumber( fax, KABC::PhoneNumber::Fax ) );
- if (!mobile.isEmpty()) a.insertPhoneNumber( KABC::PhoneNumber( mobile, KABC::PhoneNumber::Cell ) );
- if (!modem.isEmpty()) a.insertPhoneNumber( KABC::PhoneNumber( modem, KABC::PhoneNumber::Modem ) );
+ if (!tel.isEmpty()) a.insertPhoneNumber( TDEABC::PhoneNumber( tel, TDEABC::PhoneNumber::Voice ) );
+ if (!fax.isEmpty()) a.insertPhoneNumber( TDEABC::PhoneNumber( fax, TDEABC::PhoneNumber::Fax ) );
+ if (!mobile.isEmpty()) a.insertPhoneNumber( TDEABC::PhoneNumber( mobile, TDEABC::PhoneNumber::Cell ) );
+ if (!modem.isEmpty()) a.insertPhoneNumber( TDEABC::PhoneNumber( modem, TDEABC::PhoneNumber::Modem ) );
if (!homepage.isEmpty()) a.setUrl(KURL( homepage ));
// Miss out talk
if (!comment.isEmpty()) a.setNote(comment);