summaryrefslogtreecommitdiffstats
path: root/wizards/exchangewizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/exchangewizard.cpp')
-rw-r--r--wizards/exchangewizard.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/wizards/exchangewizard.cpp b/wizards/exchangewizard.cpp
index 79e98268..58ca9400 100644
--- a/wizards/exchangewizard.cpp
+++ b/wizards/exchangewizard.cpp
@@ -118,14 +118,14 @@ class CreateExchangeKabcResource : public TDEConfigPropagator::Change
void apply()
{
#if 0
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
KURL url( exchangeUrl() );
TQString user( ExchangeConfig::self()->user() );
TQString password( ExchangeConfig::self()->password() );
- KABC::ResourceExchange *r = new KABC::ResourceExchange( url, user, password );
+ TDEABC::ResourceExchange *r = new TDEABC::ResourceExchange( url, user, password );
r->setResourceName( i18n("Exchange Server") );
m.add( r );
m.writeConfig();
@@ -146,15 +146,15 @@ class UpdateExchangeKabcResource : public TDEConfigPropagator::Change
void apply()
{
# if 0
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
KURL url( exchangeUrl() );
- KRES::Manager<KABC::Resource>::Iterator it;
+ KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = m.begin(); it != m.end(); ++it ) {
if ( (*it)->identifier() == ExchangeConfig::kabcResource() ) {
- KABC::ResourceExchange *r = static_cast<KABC::ResourceExchange *>( *it );
+ TDEABC::ResourceExchange *r = static_cast<TDEABC::ResourceExchange *>( *it );
r->prefs()->setUrl( url.url() );
r->prefs()->setUser( ExchangeConfig::self()->user() );
r->prefs()->setPassword( ExchangeConfig::self()->password() );
@@ -201,9 +201,9 @@ class ExchangePropagator : 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() == "exchange" ) break;
}
@@ -211,7 +211,7 @@ class ExchangePropagator : public TDEConfigPropagator
changes.append( new CreateExchangeKabcResource );
} else {
if ( (*it2)->identifier() == ExchangeConfig::kabcResource() ) {
- KABC::ExchangePrefs *prefs = static_cast<KABC::ResourceExchange *>( *it2 )->prefs();
+ TDEABC::ExchangePrefs *prefs = static_cast<TDEABC::ResourceExchange *>( *it2 )->prefs();
if ( prefs->url() != exchangeUrl() ||
prefs->user() != ExchangeConfig::user() ||
prefs->password() != ExchangeConfig::password() ) {