diff options
Diffstat (limited to 'libtdepim/kabcresourcecached.cpp')
-rw-r--r-- | libtdepim/kabcresourcecached.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdepim/kabcresourcecached.cpp b/libtdepim/kabcresourcecached.cpp index eece76351..510ef2f83 100644 --- a/libtdepim/kabcresourcecached.cpp +++ b/libtdepim/kabcresourcecached.cpp @@ -29,7 +29,7 @@ using namespace KABC; -ResourceCached::ResourceCached( const KConfig *config ) +ResourceCached::ResourceCached( const TDEConfig *config ) : KABC::Resource( config ), mIdMapper( "kabc/uidmaps/" ), mReloadPolicy( ReloadInterval ), mReloadInterval( 10 ), mKABCReloadTimer( 0, "mKABCReloadTimer" ), mReloaded( false ), @@ -40,7 +40,7 @@ ResourceCached::ResourceCached( const KConfig *config ) connect( &mKABCSaveTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotKABCSave() ) ); if (config) - this->readConfig(const_cast<KConfig *>(config)); + this->readConfig(const_cast<TDEConfig *>(config)); } ResourceCached::~ResourceCached() @@ -91,7 +91,7 @@ int ResourceCached::saveInterval() const return mSaveInterval; } -void ResourceCached::writeConfig( KConfig *config ) +void ResourceCached::writeConfig( TDEConfig *config ) { config->writeEntry( "ReloadPolicy", mReloadPolicy ); config->writeEntry( "ReloadInterval", mReloadInterval ); @@ -105,7 +105,7 @@ void ResourceCached::writeConfig( KConfig *config ) KABC::Resource::writeConfig( config ); } -void ResourceCached::readConfig( KConfig *config ) +void ResourceCached::readConfig( TDEConfig *config ) { mReloadPolicy = config->readNumEntry( "ReloadPolicy", ReloadNever ); mReloadInterval = config->readNumEntry( "ReloadInterval", 10 ); |