diff options
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 ); |