summaryrefslogtreecommitdiffstats
path: root/wizards/sloxwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/sloxwizard.cpp')
-rw-r--r--wizards/sloxwizard.cpp18
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 );
}
}
}