summaryrefslogtreecommitdiffstats
path: root/wizards/exchangewizard.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/exchangewizard.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
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 79e982682..58ca94004 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() ) {