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 /wizards/sloxwizard.cpp | |
parent | 41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff) | |
download | tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip |
Rename KABC namespace
Diffstat (limited to 'wizards/sloxwizard.cpp')
-rw-r--r-- | wizards/sloxwizard.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/wizards/sloxwizard.cpp b/wizards/sloxwizard.cpp index 8486a74fc..6107f75ce 100644 --- a/wizards/sloxwizard.cpp +++ b/wizards/sloxwizard.cpp @@ -118,14 +118,14 @@ class CreateSloxKabcResource : public TDEConfigPropagator::Change void apply() { - KRES::Manager<KABC::Resource> m( "contact" ); + KRES::Manager<TDEABC::Resource> m( "contact" ); m.readConfig(); KURL url( sloxUrl() ); TQString user( SloxConfig::self()->user() ); TQString password( SloxConfig::self()->password() ); - KABC::ResourceSlox *r = new KABC::ResourceSlox( url, user, password ); + TDEABC::ResourceSlox *r = new TDEABC::ResourceSlox( url, user, password ); r->setResourceName( i18n("Openexchange Server") ); m.add( r ); m.writeConfig(); @@ -144,15 +144,15 @@ class UpdateSloxKabcResource : public TDEConfigPropagator::Change void apply() { - KRES::Manager<KABC::Resource> m( "contact" ); + KRES::Manager<TDEABC::Resource> m( "contact" ); m.readConfig(); KURL url( sloxUrl() ); - KRES::Manager<KABC::Resource>::Iterator it; + KRES::Manager<TDEABC::Resource>::Iterator it; for ( it = m.begin(); it != m.end(); ++it ) { if ( (*it)->identifier() == SloxConfig::kabcResource() ) { - KABC::ResourceSlox *r = static_cast<KABC::ResourceSlox *>( *it ); + TDEABC::ResourceSlox *r = static_cast<TDEABC::ResourceSlox *>( *it ); r->prefs()->setUrl( url.url() ); r->prefs()->setUser( SloxConfig::self()->user() ); r->prefs()->setPassword( SloxConfig::self()->password() ); @@ -198,9 +198,9 @@ class SloxPropagator : 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() == "slox" ) break; } @@ -208,7 +208,7 @@ class SloxPropagator : public TDEConfigPropagator changes.append( new CreateSloxKabcResource ); } else { if ( (*it2)->identifier() == SloxConfig::kabcResource() ) { - KABC::SloxPrefs *prefs = static_cast<KABC::ResourceSlox *>( *it2 )->prefs(); + TDEABC::SloxPrefs *prefs = static_cast<TDEABC::ResourceSlox *>( *it2 )->prefs(); if ( prefs->url() != sloxUrl() || prefs->user() != SloxConfig::user() || prefs->password() != SloxConfig::password() ) { |