diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /certmanager/lib/backends/chiasmus | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'certmanager/lib/backends/chiasmus')
-rw-r--r-- | certmanager/lib/backends/chiasmus/chiasmusbackend.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp b/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp index b3e751400..da875e303 100644 --- a/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp +++ b/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp @@ -197,13 +197,13 @@ namespace { TQVariant value() const { return mValue; } - void sync( KConfigBase * config ) { + void sync( TDEConfigBase * config ) { if ( !mDirty ) return; mDirty = false; config->writeEntry( kleo_chiasmus_config_entries[mIdx].name, mValue ); } - void read( const KConfigBase * config ) { + void read( const TDEConfigBase * config ) { mDirty = false; mValue = config->readPropertyEntry( kleo_chiasmus_config_entries[mIdx].name, defaultValue() ); } @@ -254,7 +254,7 @@ namespace { class ChiasmusGeneralGroup : public Kleo::CryptoConfigGroup { mutable std::map<TQString,ChiasmusConfigEntry*> mCache; - mutable KConfig * mConfigObject; + mutable TDEConfig * mConfigObject; public: ChiasmusGeneralGroup() : Kleo::CryptoConfigGroup(), mConfigObject( 0 ) {} ~ChiasmusGeneralGroup() { clear(); delete mConfigObject; } @@ -271,7 +271,7 @@ namespace { Kleo::CryptoConfigEntry * entry( const TQString & name ) const { if ( ChiasmusConfigEntry * entry = mCache[name] ) return entry; - const KConfigGroup group( configObject(), "Chiasmus" ); + const TDEConfigGroup group( configObject(), "Chiasmus" ); for ( unsigned int i = 0 ; i < kleo_chiasmus_config_entries_dim ; ++i ) if ( name == kleo_chiasmus_config_entries[i].name ) { ChiasmusConfigEntry * entry = new ChiasmusConfigEntry( i ); @@ -282,17 +282,17 @@ namespace { } void sync() { - KConfigGroup group( configObject(), "Chiasmus" ); + TDEConfigGroup group( configObject(), "Chiasmus" ); for ( std::map<TQString,ChiasmusConfigEntry*>::const_iterator it = mCache.begin(), end = mCache.end() ; it != end ; ++it ) it->second->sync( &group ); group.sync(); clear(); } private: - KConfig * configObject() const { + TDEConfig * configObject() const { if ( !mConfigObject ) // this is unsafe. We're a lib, used by concurrent apps. - mConfigObject = new KConfig( "chiasmusbackendrc" ); + mConfigObject = new TDEConfig( "chiasmusbackendrc" ); return mConfigObject; } void clear() { |