diff options
Diffstat (limited to 'wizards/groupwisewizard.cpp')
-rw-r--r-- | wizards/groupwisewizard.cpp | 16 |
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() ) { |