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/sloxwizard.cpp | |
parent | 8144d5434bbd1c4448a37695aed6ad3d348043d8 (diff) | |
download | tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.tar.gz tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.zip |
Additional k => tde renaming and fixes
Diffstat (limited to 'wizards/sloxwizard.cpp')
-rw-r--r-- | wizards/sloxwizard.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/wizards/sloxwizard.cpp b/wizards/sloxwizard.cpp index 6107f75ce..7d8ccf321 100644 --- a/wizards/sloxwizard.cpp +++ b/wizards/sloxwizard.cpp @@ -108,10 +108,10 @@ class UpdateSloxKcalResource : public TDEConfigPropagator::Change } }; -class CreateSloxKabcResource : public TDEConfigPropagator::Change +class CreateSloxTdeabcResource : public TDEConfigPropagator::Change { public: - CreateSloxKabcResource() + CreateSloxTdeabcResource() : TDEConfigPropagator::Change( i18n("Create SLOX Addressbook Resource") ) { } @@ -130,14 +130,14 @@ class CreateSloxKabcResource : public TDEConfigPropagator::Change m.add( r ); m.writeConfig(); - SloxConfig::self()->setKabcResource( r->identifier() ); + SloxConfig::self()->setTdeabcResource( r->identifier() ); } }; -class UpdateSloxKabcResource : public TDEConfigPropagator::Change +class UpdateSloxTdeabcResource : public TDEConfigPropagator::Change { public: - UpdateSloxKabcResource() + UpdateSloxTdeabcResource() : TDEConfigPropagator::Change( i18n("Update SLOX Addressbook Resource") ) { } @@ -151,7 +151,7 @@ class UpdateSloxKabcResource : public TDEConfigPropagator::Change KRES::Manager<TDEABC::Resource>::Iterator it; for ( it = m.begin(); it != m.end(); ++it ) { - if ( (*it)->identifier() == SloxConfig::kabcResource() ) { + if ( (*it)->identifier() == SloxConfig::tdeabcResource() ) { TDEABC::ResourceSlox *r = static_cast<TDEABC::ResourceSlox *>( *it ); r->prefs()->setUrl( url.url() ); r->prefs()->setUser( SloxConfig::self()->user() ); @@ -205,14 +205,14 @@ class SloxPropagator : public TDEConfigPropagator if ( (*it2)->type() == "slox" ) break; } if ( it2 == m2.end() ) { - changes.append( new CreateSloxKabcResource ); + changes.append( new CreateSloxTdeabcResource ); } else { - if ( (*it2)->identifier() == SloxConfig::kabcResource() ) { + if ( (*it2)->identifier() == SloxConfig::tdeabcResource() ) { TDEABC::SloxPrefs *prefs = static_cast<TDEABC::ResourceSlox *>( *it2 )->prefs(); if ( prefs->url() != sloxUrl() || prefs->user() != SloxConfig::user() || prefs->password() != SloxConfig::password() ) { - changes.append( new UpdateSloxKabcResource ); + changes.append( new UpdateSloxTdeabcResource ); } } } |