summaryrefslogtreecommitdiffstats
path: root/tderesources/scalix/shared/scalixbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/scalix/shared/scalixbase.cpp')
-rw-r--r--tderesources/scalix/shared/scalixbase.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tderesources/scalix/shared/scalixbase.cpp b/tderesources/scalix/shared/scalixbase.cpp
index 3cdf16c0b..f07a6983e 100644
--- a/tderesources/scalix/shared/scalixbase.cpp
+++ b/tderesources/scalix/shared/scalixbase.cpp
@@ -78,7 +78,7 @@ void ScalixBase::saveTo( KCal::Incidence* incidence ) const
// TODO: Attachments
}
-void ScalixBase::setFields( const KABC::Addressee* addressee )
+void ScalixBase::setFields( const TDEABC::Addressee* addressee )
{
// An addressee does not have a creation date, so somehow we should
// make one, if this is a new entry
@@ -112,16 +112,16 @@ void ScalixBase::setFields( const KABC::Addressee* addressee )
const TQString newCreationDate = dateTimeToString( creationDate );
if ( creationString != newCreationDate ) {
// We modified the creation date, so store it for future reference
- const_cast<KABC::Addressee*>( addressee )
+ const_cast<TDEABC::Addressee*>( addressee )
->insertCustom( "KOLAB", "CreationDate", newCreationDate );
kdDebug(5006) << "Creation date modified. New one: " << newCreationDate << endl;
}
switch( addressee->secrecy().type() ) {
- case KABC::Secrecy::Private:
+ case TDEABC::Secrecy::Private:
setSensitivity( Private );
break;
- case KABC::Secrecy::Confidential:
+ case TDEABC::Secrecy::Confidential:
setSensitivity( Confidential );
break;
default:
@@ -131,7 +131,7 @@ void ScalixBase::setFields( const KABC::Addressee* addressee )
// TODO: Attachments
}
-void ScalixBase::saveTo( KABC::Addressee* addressee ) const
+void ScalixBase::saveTo( TDEABC::Addressee* addressee ) const
{
addressee->setUid( uid() );
addressee->setNote( body() );
@@ -142,13 +142,13 @@ void ScalixBase::saveTo( KABC::Addressee* addressee ) const
switch( sensitivity() ) {
case Private:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Private ) );
+ addressee->setSecrecy( TDEABC::Secrecy( TDEABC::Secrecy::Private ) );
break;
case Confidential:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Confidential ) );
+ addressee->setSecrecy( TDEABC::Secrecy( TDEABC::Secrecy::Confidential ) );
break;
default:
- addressee->setSecrecy( KABC::Secrecy( KABC::Secrecy::Public ) );
+ addressee->setSecrecy( TDEABC::Secrecy( TDEABC::Secrecy::Public ) );
break;
}