diff options
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() ) { |