summaryrefslogtreecommitdiffstats
path: root/tderesources/newexchange/exchangeconvertercontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/newexchange/exchangeconvertercontact.cpp')
-rw-r--r--tderesources/newexchange/exchangeconvertercontact.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tderesources/newexchange/exchangeconvertercontact.cpp b/tderesources/newexchange/exchangeconvertercontact.cpp
index e8de19cb8..dae145677 100644
--- a/tderesources/newexchange/exchangeconvertercontact.cpp
+++ b/tderesources/newexchange/exchangeconvertercontact.cpp
@@ -24,7 +24,7 @@
#include <kdebug.h>
-using namespace KABC;
+using namespace TDEABC;
ExchangeConverterContact::ExchangeConverterContact()
{
@@ -296,17 +296,17 @@ bool ExchangeConverterContact::readAddressee( const TQDomElement &node, Addresse
// 0 None, 1 Personal, 2 Private, 3 Company Confidential
if ( WebdavHandler::extractLong( node, "sensitivity", tmplng ) ) {
switch( tmplng ) {
- case 0: addressee.setSecrecy( KABC::Secrecy::Public ); break;
+ case 0: addressee.setSecrecy( TDEABC::Secrecy::Public ); break;
case 1:
- case 2: addressee.setSecrecy( KABC::Secrecy::Private ); break;
- case 3: addressee.setSecrecy( KABC::Secrecy::Confidential ); break;
+ case 2: addressee.setSecrecy( TDEABC::Secrecy::Private ); break;
+ case 3: addressee.setSecrecy( TDEABC::Secrecy::Confidential ); break;
default: kdWarning() << "Unknown sensitivity: " << tmplng << endl;
}
}
#define insertPhone( name, type ) \
if ( WebdavHandler::extractString( node, name, tmpstr ) ) \
- addressee.insertPhoneNumber( KABC::PhoneNumber( tmpstr, type ) );
+ addressee.insertPhoneNumber( TDEABC::PhoneNumber( tmpstr, type ) );
// Phone numbers
insertPhone( "telephoneNumber", PhoneNumber::Work );
//insertPhone( "telephonenumber2", PhoneNumber::Work );
@@ -499,8 +499,8 @@ TQDomDocument ExchangeConverterContact::createWebDAV( Addressee addr )
// 0 None, 1 Personal, 2 Private, 3 Company Confidential
TQString value;
switch ( addr.secrecy().type() ) {
- case KABC::Secrecy::Private: value = "2"; break;
- case KABC::Secrecy::Confidential: value = "3"; break;
+ case TDEABC::Secrecy::Private: value = "2"; break;
+ case TDEABC::Secrecy::Confidential: value = "3"; break;
default: value = "0";
}
domDavProperty( "sensitivity", value );
@@ -599,7 +599,7 @@ TQDomDocument ExchangeConverterContact::createWebDAV( Addressee addr )
// ? TODO: timeZone()
/*
- KABC::Geo geo = addr.geo();
+ TDEABC::Geo geo = addr.geo();
if ( geo.isValid() ) {
// TODO: Do we need to set any other attribute to make it a float?
TQDomAttr att_cal = doc.createAttribute( "xmlns:cal" );