summaryrefslogtreecommitdiffstats
path: root/wizards/groupwisewizard.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 /wizards/groupwisewizard.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'wizards/groupwisewizard.cpp')
-rw-r--r--wizards/groupwisewizard.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/wizards/groupwisewizard.cpp b/wizards/groupwisewizard.cpp
index 52df469b4..44a962925 100644
--- a/wizards/groupwisewizard.cpp
+++ b/wizards/groupwisewizard.cpp
@@ -119,14 +119,14 @@ class CreateGroupwiseKabcResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
TQString url = serverUrl();
TQString user( GroupwiseConfig::self()->user() );
TQString password( GroupwiseConfig::self()->password() );
- KABC::ResourceGroupwise *r = new KABC::ResourceGroupwise( url, user,
+ TDEABC::ResourceGroupwise *r = new TDEABC::ResourceGroupwise( url, user,
password,
TQStringList(),
TQString() );
@@ -148,13 +148,13 @@ class UpdateGroupwiseKabcResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it;
+ KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = m.begin(); it != m.end(); ++it ) {
if ( (*it)->identifier() == GroupwiseConfig::kabcResource() ) {
- KABC::ResourceGroupwise *r = static_cast<KABC::ResourceGroupwise *>( *it );
+ TDEABC::ResourceGroupwise *r = static_cast<TDEABC::ResourceGroupwise *>( *it );
r->prefs()->setUrl( serverUrl() );
r->prefs()->setUser( GroupwiseConfig::self()->user() );
r->prefs()->setPassword( GroupwiseConfig::self()->password() );
@@ -221,9 +221,9 @@ class GroupwisePropagator : public TDEConfigPropagator
}
}
- KRES::Manager<KABC::Resource> m2( "contact" );
+ KRES::Manager<TDEABC::Resource> m2( "contact" );
m2.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it2;
+ KRES::Manager<TDEABC::Resource>::Iterator it2;
for ( it2 = m2.begin(); it2 != m2.end(); ++it2 ) {
if ( (*it2)->type() == "groupwise" ) break;
}
@@ -231,7 +231,7 @@ class GroupwisePropagator : public TDEConfigPropagator
changes.append( new CreateGroupwiseKabcResource );
} else {
if ( (*it2)->identifier() == GroupwiseConfig::kabcResource() ) {
- KABC::GroupwisePrefs *prefs = static_cast<KABC::ResourceGroupwise *>( *it2 )->prefs();
+ TDEABC::GroupwisePrefs *prefs = static_cast<TDEABC::ResourceGroupwise *>( *it2 )->prefs();
if ( prefs->url() != serverUrl() ||
prefs->user() != GroupwiseConfig::user() ||
prefs->password() != GroupwiseConfig::password() ) {