summaryrefslogtreecommitdiffstats
path: root/wizards/groupwisewizard.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:02:55 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 21:02:00 +0200
commit533bad2a1503973aaf8186691422c2eda91d02d4 (patch)
treef7e52f62416048859aa9bde8425e20aac0e7c669 /wizards/groupwisewizard.cpp
parent8144d5434bbd1c4448a37695aed6ad3d348043d8 (diff)
downloadtdepim-533bad2a1503973aaf8186691422c2eda91d02d4.tar.gz
tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'wizards/groupwisewizard.cpp')
-rw-r--r--wizards/groupwisewizard.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/wizards/groupwisewizard.cpp b/wizards/groupwisewizard.cpp
index 44a962925..4e8282917 100644
--- a/wizards/groupwisewizard.cpp
+++ b/wizards/groupwisewizard.cpp
@@ -109,10 +109,10 @@ class UpdateGroupwiseKcalResource : public TDEConfigPropagator::Change
}
};
-class CreateGroupwiseKabcResource : public TDEConfigPropagator::Change
+class CreateGroupwiseTdeabcResource : public TDEConfigPropagator::Change
{
public:
- CreateGroupwiseKabcResource()
+ CreateGroupwiseTdeabcResource()
: TDEConfigPropagator::Change( i18n("Create GroupWise Addressbook Resource") )
{
}
@@ -134,14 +134,14 @@ class CreateGroupwiseKabcResource : public TDEConfigPropagator::Change
m.add( r );
m.writeConfig();
- GroupwiseConfig::self()->setKabcResource( r->identifier() );
+ GroupwiseConfig::self()->setTdeabcResource( r->identifier() );
}
};
-class UpdateGroupwiseKabcResource : public TDEConfigPropagator::Change
+class UpdateGroupwiseTdeabcResource : public TDEConfigPropagator::Change
{
public:
- UpdateGroupwiseKabcResource()
+ UpdateGroupwiseTdeabcResource()
: TDEConfigPropagator::Change( i18n("Update GroupWise Addressbook Resource") )
{
}
@@ -153,7 +153,7 @@ class UpdateGroupwiseKabcResource : public TDEConfigPropagator::Change
KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = m.begin(); it != m.end(); ++it ) {
- if ( (*it)->identifier() == GroupwiseConfig::kabcResource() ) {
+ if ( (*it)->identifier() == GroupwiseConfig::tdeabcResource() ) {
TDEABC::ResourceGroupwise *r = static_cast<TDEABC::ResourceGroupwise *>( *it );
r->prefs()->setUrl( serverUrl() );
r->prefs()->setUser( GroupwiseConfig::self()->user() );
@@ -228,14 +228,14 @@ class GroupwisePropagator : public TDEConfigPropagator
if ( (*it2)->type() == "groupwise" ) break;
}
if ( it2 == m2.end() ) {
- changes.append( new CreateGroupwiseKabcResource );
+ changes.append( new CreateGroupwiseTdeabcResource );
} else {
- if ( (*it2)->identifier() == GroupwiseConfig::kabcResource() ) {
+ if ( (*it2)->identifier() == GroupwiseConfig::tdeabcResource() ) {
TDEABC::GroupwisePrefs *prefs = static_cast<TDEABC::ResourceGroupwise *>( *it2 )->prefs();
if ( prefs->url() != serverUrl() ||
prefs->user() != GroupwiseConfig::user() ||
prefs->password() != GroupwiseConfig::password() ) {
- changes.append( new UpdateGroupwiseKabcResource );
+ changes.append( new UpdateGroupwiseTdeabcResource );
}
}
}