diff options
author | Slávek Banko <[email protected]> | 2013-09-03 20:02:55 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-09-03 21:02:00 +0200 |
commit | 533bad2a1503973aaf8186691422c2eda91d02d4 (patch) | |
tree | f7e52f62416048859aa9bde8425e20aac0e7c669 /wizards/egroupwarewizard.cpp | |
parent | 8144d5434bbd1c4448a37695aed6ad3d348043d8 (diff) | |
download | tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.tar.gz tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.zip |
Additional k => tde renaming and fixes
Diffstat (limited to 'wizards/egroupwarewizard.cpp')
-rw-r--r-- | wizards/egroupwarewizard.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/wizards/egroupwarewizard.cpp b/wizards/egroupwarewizard.cpp index fc4f68a12..647d1bf53 100644 --- a/wizards/egroupwarewizard.cpp +++ b/wizards/egroupwarewizard.cpp @@ -55,10 +55,10 @@ static TQString createURL( const TQString &server, bool useSSL, const TQString & return url.url(); } -class CreateEGroupwareKabcResource : public TDEConfigPropagator::Change +class CreateEGroupwareTdeabcResource : public TDEConfigPropagator::Change { public: - CreateEGroupwareKabcResource() + CreateEGroupwareTdeabcResource() : TDEConfigPropagator::Change( i18n("Create eGroupware Addressbook Resource") ) { } @@ -82,10 +82,10 @@ class CreateEGroupwareKabcResource : public TDEConfigPropagator::Change }; // TODO: fix the i18n strings after freeze... -class ChangeEGroupwareKabcResource : public TDEConfigPropagator::Change +class ChangeEGroupwareTdeabcResource : public TDEConfigPropagator::Change { public: - ChangeEGroupwareKabcResource( const TQString &identifier ) + ChangeEGroupwareTdeabcResource( const TQString &identifier ) : TDEConfigPropagator::Change( i18n("Create eGroupware Addressbook Resource") ), mIdentifier( identifier ) { @@ -273,16 +273,16 @@ class EGroupwarePropagator : public TDEConfigPropagator changes.append( new ChangeEGroupwareKcalResource( (*kcalIt)->identifier() ) ); } - KRES::Manager<TDEABC::Resource> kabcManager( "contact" ); - kabcManager.readConfig(); - KRES::Manager<TDEABC::Resource>::Iterator kabcIt; - for ( kabcIt = kabcManager.begin(); kabcIt != kabcManager.end(); ++kabcIt ) { - if ( (*kabcIt)->type() == "xmlrpc" ) break; + KRES::Manager<TDEABC::Resource> tdeabcManager( "contact" ); + tdeabcManager.readConfig(); + KRES::Manager<TDEABC::Resource>::Iterator tdeabcIt; + for ( tdeabcIt = tdeabcManager.begin(); tdeabcIt != tdeabcManager.end(); ++tdeabcIt ) { + if ( (*tdeabcIt)->type() == "xmlrpc" ) break; } - if ( kabcIt == kabcManager.end() ) { - changes.append( new CreateEGroupwareKabcResource ); + if ( tdeabcIt == tdeabcManager.end() ) { + changes.append( new CreateEGroupwareTdeabcResource ); } else { - changes.append( new ChangeEGroupwareKabcResource( (*kabcIt)->identifier() ) ); + changes.append( new ChangeEGroupwareTdeabcResource( (*tdeabcIt)->identifier() ) ); } KRES::Manager<ResourceNotes> knotesManager( "notes" ); |