diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:27:27 -0600 |
commit | 94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch) | |
tree | 91b99186971ecb475db3ca41b1b12df24029e389 /tderesources/carddav/resource.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'tderesources/carddav/resource.cpp')
-rw-r--r-- | tderesources/carddav/resource.cpp | 20 |
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 |