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/kleo/cryptobackendfactory.cpp | |
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/kleo/cryptobackendfactory.cpp')
-rw-r--r-- | certmanager/lib/kleo/cryptobackendfactory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/certmanager/lib/kleo/cryptobackendfactory.cpp b/certmanager/lib/kleo/cryptobackendfactory.cpp index 295c05c60..f67343ca8 100644 --- a/certmanager/lib/kleo/cryptobackendfactory.cpp +++ b/certmanager/lib/kleo/cryptobackendfactory.cpp @@ -178,10 +178,10 @@ Kleo::BackendConfigWidget * Kleo::CryptoBackendFactory::configWidget( TQWidget * return new Kleo::BackendConfigWidget( mSelf, parent, name ); } -KConfig* Kleo::CryptoBackendFactory::configObject() const { +TDEConfig* Kleo::CryptoBackendFactory::configObject() const { if ( !mConfigObject ) // this is unsafe. We're a lib, used by concurrent apps. - mConfigObject = new KConfig( "libkleopatrarc" ); + mConfigObject = new TDEConfig( "libkleopatrarc" ); return mConfigObject; } @@ -195,7 +195,7 @@ void Kleo::CryptoBackendFactory::setOpenPGPBackend( const CryptoBackend* backend void Kleo::CryptoBackendFactory::setProtocolBackend( const char * protocol, const CryptoBackend * backend ) { const TQString name = backend ? backend->name() : TQString() ; - KConfigGroup group( configObject(), "Backends" ); + TDEConfigGroup group( configObject(), "Backends" ); group.writeEntry( protocol, name ); configObject()->sync(); mBackends[protocol] = backend; @@ -218,7 +218,7 @@ static const char * defaultBackend( const char * proto ) { void Kleo::CryptoBackendFactory::readConfig() { mBackends.clear(); - const KConfigGroup group( configObject(), "Backends" ); + const TDEConfigGroup group( configObject(), "Backends" ); for ( ProtocolSet::const_iterator it = mAvailableProtocols.begin(), end = mAvailableProtocols.end() ; it != end ; ++it ) { const TQString backend = group.readEntry( *it, defaultBackend( *it ) ); mBackends[*it] = backendByName( backend ); |