summaryrefslogtreecommitdiffstats
path: root/tderesources/carddav/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/carddav/resource.cpp')
-rw-r--r--tderesources/carddav/resource.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tderesources/carddav/resource.cpp b/tderesources/carddav/resource.cpp
index ddaae59dc..beb233a0b 100644
--- a/tderesources/carddav/resource.cpp
+++ b/tderesources/carddav/resource.cpp
@@ -44,7 +44,7 @@
| NAMESPACE
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
/*=========================================================================
| CONSTANTS
@@ -212,7 +212,7 @@ bool ResourceCardDav::save( Ticket* ticket ) {
return doSave();
}
-KABC::Lock* ResourceCardDav::lock() {
+TDEABC::Lock* ResourceCardDav::lock() {
log("lock()");
return &mLock;
}
@@ -422,9 +422,9 @@ void ResourceCardDav::loadFinished() {
bool ResourceCardDav::checkData(const TQString& data) {
log("checking the data");
- KABC::VCardConverter converter;
+ TDEABC::VCardConverter converter;
bool ret = true;
- KABC::VCardConverter conv;
+ TDEABC::VCardConverter conv;
Addressee::List addressees = conv.parseVCards( data );
if (addressees.isEmpty() == true) {
ret = false;
@@ -453,11 +453,11 @@ bool ResourceCardDav::parseData(const TQString& data) {
log("actually parsing the data");
- KABC::VCardConverter conv;
+ TDEABC::VCardConverter conv;
Addressee::List addressees = conv.parseVCards( data );
Addressee::List::ConstIterator it;
for( it = addressees.begin(); it != addressees.end(); ++it ) {
- KABC::Addressee addr = *it;
+ TDEABC::Addressee addr = *it;
if ( !addr.isEmpty() ) {
addr.setResource( this );
@@ -599,7 +599,7 @@ bool ResourceCardDav::startWriting(const TQString& url) {
log("startWriting: url = " + url);
WritingTask *t = new WritingTask;
- KABC::VCardConverter converter;
+ TDEABC::VCardConverter converter;
// WARNING: This will segfault if a separate read or write thread
// modifies the calendar with clearChanges() or similar
@@ -613,9 +613,9 @@ bool ResourceCardDav::startWriting(const TQString& url) {
return false;
}
- KABC::Addressee::List added = addedAddressees();
- KABC::Addressee::List changed = changedAddressees();
- KABC::Addressee::List deleted = deletedAddressees();
+ TDEABC::Addressee::List added = addedAddressees();
+ TDEABC::Addressee::List changed = changedAddressees();
+ TDEABC::Addressee::List deleted = deletedAddressees();
t->url = url;
// FIXME KABC