diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-03 20:02:55 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-03 21:02:00 +0200 |
commit | 533bad2a1503973aaf8186691422c2eda91d02d4 (patch) | |
tree | f7e52f62416048859aa9bde8425e20aac0e7c669 /wizards/exchangewizard.cpp | |
parent | 8144d5434bbd1c4448a37695aed6ad3d348043d8 (diff) | |
download | tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.tar.gz tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.zip |
Additional k => tde renaming and fixes
Diffstat (limited to 'wizards/exchangewizard.cpp')
-rw-r--r-- | wizards/exchangewizard.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/wizards/exchangewizard.cpp b/wizards/exchangewizard.cpp index 58ca94004..35c8fe3bc 100644 --- a/wizards/exchangewizard.cpp +++ b/wizards/exchangewizard.cpp @@ -107,10 +107,10 @@ class UpdateExchangeKcalResource : public TDEConfigPropagator::Change } }; -class CreateExchangeKabcResource : public TDEConfigPropagator::Change +class CreateExchangeTdeabcResource : public TDEConfigPropagator::Change { public: - CreateExchangeKabcResource() + CreateExchangeTdeabcResource() : TDEConfigPropagator::Change( i18n("Create Exchange Addressbook Resource") ) { } @@ -130,15 +130,15 @@ class CreateExchangeKabcResource : public TDEConfigPropagator::Change m.add( r ); m.writeConfig(); - ExchangeConfig::self()->setKabcResource( r->identifier() ); + ExchangeConfig::self()->setTdeabcResource( r->identifier() ); #endif } }; -class UpdateExchangeKabcResource : public TDEConfigPropagator::Change +class UpdateExchangeTdeabcResource : public TDEConfigPropagator::Change { public: - UpdateExchangeKabcResource() + UpdateExchangeTdeabcResource() : TDEConfigPropagator::Change( i18n("Update Exchange Addressbook Resource") ) { } @@ -153,7 +153,7 @@ class UpdateExchangeKabcResource : public TDEConfigPropagator::Change KRES::Manager<TDEABC::Resource>::Iterator it; for ( it = m.begin(); it != m.end(); ++it ) { - if ( (*it)->identifier() == ExchangeConfig::kabcResource() ) { + if ( (*it)->identifier() == ExchangeConfig::tdeabcResource() ) { TDEABC::ResourceExchange *r = static_cast<TDEABC::ResourceExchange *>( *it ); r->prefs()->setUrl( url.url() ); r->prefs()->setUser( ExchangeConfig::self()->user() ); @@ -208,14 +208,14 @@ class ExchangePropagator : public TDEConfigPropagator if ( (*it2)->type() == "exchange" ) break; } if ( it2 == m2.end() ) { - changes.append( new CreateExchangeKabcResource ); + changes.append( new CreateExchangeTdeabcResource ); } else { - if ( (*it2)->identifier() == ExchangeConfig::kabcResource() ) { + if ( (*it2)->identifier() == ExchangeConfig::tdeabcResource() ) { TDEABC::ExchangePrefs *prefs = static_cast<TDEABC::ResourceExchange *>( *it2 )->prefs(); if ( prefs->url() != exchangeUrl() || prefs->user() != ExchangeConfig::user() || prefs->password() != ExchangeConfig::password() ) { - changes.append( new UpdateExchangeKabcResource ); + changes.append( new UpdateExchangeTdeabcResource ); } } } |