summaryrefslogtreecommitdiffstats
path: root/tderesources/scalix/shared/scalixbase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /tderesources/scalix/shared/scalixbase.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
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;
}