summaryrefslogtreecommitdiffstats
path: root/libtdepim/kabcresourcecached.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /libtdepim/kabcresourcecached.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'libtdepim/kabcresourcecached.cpp')
-rw-r--r--libtdepim/kabcresourcecached.cpp8
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 );