summaryrefslogtreecommitdiffstats
path: root/tderesources/carddav
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/carddav
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'tderesources/carddav')
-rw-r--r--tderesources/carddav/config.cpp2
-rw-r--r--tderesources/carddav/config.h4
-rw-r--r--tderesources/carddav/configwidgets.cpp6
-rw-r--r--tderesources/carddav/configwidgets.h2
-rw-r--r--tderesources/carddav/job.cpp2
-rw-r--r--tderesources/carddav/job.h4
-rw-r--r--tderesources/carddav/plugin.cpp2
-rw-r--r--tderesources/carddav/preferences.cpp2
-rw-r--r--tderesources/carddav/preferences.h4
-rw-r--r--tderesources/carddav/reader.cpp2
-rw-r--r--tderesources/carddav/reader.h4
-rw-r--r--tderesources/carddav/resource.cpp20
-rw-r--r--tderesources/carddav/resource.h8
-rw-r--r--tderesources/carddav/writer.cpp2
-rw-r--r--tderesources/carddav/writer.h4
15 files changed, 34 insertions, 34 deletions
diff --git a/tderesources/carddav/config.cpp b/tderesources/carddav/config.cpp
index a71035058..b476fb249 100644
--- a/tderesources/carddav/config.cpp
+++ b/tderesources/carddav/config.cpp
@@ -33,7 +33,7 @@
| NAMESPACE
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
/*=========================================================================
| CONSTANTS
diff --git a/tderesources/carddav/config.h b/tderesources/carddav/config.h
index 7cac40940..e99197237 100644
--- a/tderesources/carddav/config.h
+++ b/tderesources/carddav/config.h
@@ -24,7 +24,7 @@
class TQLineEdit;
class TQCheckBox;
-namespace KABC {
+namespace TDEABC {
class CardDavReloadConfig;
class CardDavSaveConfig;
@@ -74,7 +74,7 @@ private:
static CardDavPrefs* getPrefs(ResourceCardDav* res);
};
-} // namespace KABC
+} // namespace TDEABC
#endif // KABC_RESOURCECARDDAVCONFIG_H
diff --git a/tderesources/carddav/configwidgets.cpp b/tderesources/carddav/configwidgets.cpp
index 800ea26db..d0e55a5f5 100644
--- a/tderesources/carddav/configwidgets.cpp
+++ b/tderesources/carddav/configwidgets.cpp
@@ -48,7 +48,7 @@
#include <tqgroupbox.h>
#include <tqhbox.h>
-using namespace KABC;
+using namespace TDEABC;
//@cond PRIVATE
class CardDavConfigPrivate
@@ -74,7 +74,7 @@ class CardDavSaveConfig::Private
//@endcond
CardDavReloadConfig::CardDavReloadConfig( TQWidget *parent )
- : TQWidget( parent ), d( new KABC::CardDavReloadConfig::Private() )
+ : TQWidget( parent ), d( new TDEABC::CardDavReloadConfig::Private() )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -148,7 +148,7 @@ void CardDavReloadConfig::slotIntervalToggled( bool checked )
}
CardDavSaveConfig::CardDavSaveConfig( TQWidget *parent )
- : TQWidget( parent ), d( new KABC::CardDavSaveConfig::Private() )
+ : TQWidget( parent ), d( new TDEABC::CardDavSaveConfig::Private() )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
diff --git a/tderesources/carddav/configwidgets.h b/tderesources/carddav/configwidgets.h
index 9f45579d3..f63535c96 100644
--- a/tderesources/carddav/configwidgets.h
+++ b/tderesources/carddav/configwidgets.h
@@ -37,7 +37,7 @@
#include <tqwidget.h>
#include <kdemacros.h>
-namespace KABC {
+namespace TDEABC {
class ResourceCached;
diff --git a/tderesources/carddav/job.cpp b/tderesources/carddav/job.cpp
index 5cab5cdfb..98f269413 100644
--- a/tderesources/carddav/job.cpp
+++ b/tderesources/carddav/job.cpp
@@ -25,7 +25,7 @@
| NAMESPACE
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
/*=========================================================================
| STATIC
diff --git a/tderesources/carddav/job.h b/tderesources/carddav/job.h
index 52a04bc7a..f41e0ae7d 100644
--- a/tderesources/carddav/job.h
+++ b/tderesources/carddav/job.h
@@ -25,7 +25,7 @@ extern "C" {
#include <carddav.h>
}
-namespace KABC {
+namespace TDEABC {
/*=========================================================================
| CLASS
@@ -170,7 +170,7 @@ private:
void enableCarddavDebug(runtime_info*);
};
-} // namespace KABC
+} // namespace TDEABC
#endif // KABCDAV_JOB_H
diff --git a/tderesources/carddav/plugin.cpp b/tderesources/carddav/plugin.cpp
index 8b19e49a0..9cafa5bf0 100644
--- a/tderesources/carddav/plugin.cpp
+++ b/tderesources/carddav/plugin.cpp
@@ -24,7 +24,7 @@
| NAMESPACE
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
/*=========================================================================
| CLASS
diff --git a/tderesources/carddav/preferences.cpp b/tderesources/carddav/preferences.cpp
index 1846ae921..30a4bbf4a 100644
--- a/tderesources/carddav/preferences.cpp
+++ b/tderesources/carddav/preferences.cpp
@@ -24,7 +24,7 @@
| NAMESPACES
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
using namespace KWallet;
/*=========================================================================
diff --git a/tderesources/carddav/preferences.h b/tderesources/carddav/preferences.h
index 96a6377d2..123751d19 100644
--- a/tderesources/carddav/preferences.h
+++ b/tderesources/carddav/preferences.h
@@ -23,7 +23,7 @@
class TQString;
-namespace KABC {
+namespace TDEABC {
/*=========================================================================
| CLASS
@@ -148,7 +148,7 @@ private:
TQString mPassword;
};
-} // namespace KABC
+} // namespace TDEABC
#endif // KABC_CARDDAVPREFS_H
diff --git a/tderesources/carddav/reader.cpp b/tderesources/carddav/reader.cpp
index 62645535b..5836bbccc 100644
--- a/tderesources/carddav/reader.cpp
+++ b/tderesources/carddav/reader.cpp
@@ -21,7 +21,7 @@
| NAMESPACE
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
/*=========================================================================
| METHODS
diff --git a/tderesources/carddav/reader.h b/tderesources/carddav/reader.h
index 181d4eb6a..17ec1f92f 100644
--- a/tderesources/carddav/reader.h
+++ b/tderesources/carddav/reader.h
@@ -21,7 +21,7 @@
#include <tqstring.h>
#include <tqdatetime.h>
-namespace KABC {
+namespace TDEABC {
/*=========================================================================
| CLASS
@@ -85,7 +85,7 @@ private:
};
-} // namespace KABC
+} // namespace TDEABC
#endif // KABCDAV_LOADER_H
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
diff --git a/tderesources/carddav/resource.h b/tderesources/carddav/resource.h
index 24d727597..caec0d074 100644
--- a/tderesources/carddav/resource.h
+++ b/tderesources/carddav/resource.h
@@ -28,7 +28,7 @@
#include <tdepimmacros.h>
#include <tdeconfig.h>
-namespace KABC {
+namespace TDEABC {
class CardDavReader;
class CardDavWriter;
@@ -103,7 +103,7 @@ protected:
virtual bool save( Ticket* ticket );
- virtual KABC::Lock* lock();
+ virtual TDEABC::Lock* lock();
/**
* Creates prefs and configures them.
@@ -203,7 +203,7 @@ private:
// members: ===============================================================
- KABC::LockNull mLock;
+ TDEABC::LockNull mLock;
CardDavPrefs* mPrefs;
CardDavReader* mLoader;
CardDavWriter* mWriter;
@@ -221,7 +221,7 @@ private:
-} // namespace KABC
+} // namespace TDEABC
#endif // KABC_RESOURCECARDDAV_H
diff --git a/tderesources/carddav/writer.cpp b/tderesources/carddav/writer.cpp
index 68bf126d5..a90665d15 100644
--- a/tderesources/carddav/writer.cpp
+++ b/tderesources/carddav/writer.cpp
@@ -32,7 +32,7 @@
| NAMESPACE
========================================================================*/
-using namespace KABC;
+using namespace TDEABC;
/*=========================================================================
| METHODS
diff --git a/tderesources/carddav/writer.h b/tderesources/carddav/writer.h
index 4af3fe36b..9bd9429ab 100644
--- a/tderesources/carddav/writer.h
+++ b/tderesources/carddav/writer.h
@@ -22,7 +22,7 @@
#include <tqstring.h>
#include <tqdatetime.h>
-namespace KABC {
+namespace TDEABC {
/*=========================================================================
| CLASS
@@ -103,7 +103,7 @@ private:
TQString mDeleted;
};
-} // namespace KABC
+} // namespace TDEABC
#endif // KCARDDAV_WRITER_H