summaryrefslogtreecommitdiffstats
path: root/kresources/tvanytime/kcal_resourcetvanytime.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:37:21 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kresources/tvanytime/kcal_resourcetvanytime.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 'kresources/tvanytime/kcal_resourcetvanytime.cpp')
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kresources/tvanytime/kcal_resourcetvanytime.cpp b/kresources/tvanytime/kcal_resourcetvanytime.cpp
index 4933768ab..e447008c3 100644
--- a/kresources/tvanytime/kcal_resourcetvanytime.cpp
+++ b/kresources/tvanytime/kcal_resourcetvanytime.cpp
@@ -59,7 +59,7 @@ ResourceTVAnytime::ResourceTVAnytime()
mPrefs->addGroupPrefix( identifier() );
}
-ResourceTVAnytime::ResourceTVAnytime( const KConfig *config )
+ResourceTVAnytime::ResourceTVAnytime( const TDEConfig *config )
: ResourceCached( config ), mLock( true )
{
init();
@@ -102,7 +102,7 @@ TVAnytimePrefsBase *ResourceTVAnytime::prefs()
return mPrefs;
}
-void ResourceTVAnytime::readConfig( const KConfig *config )
+void ResourceTVAnytime::readConfig( const TDEConfig *config )
{
kdDebug() << "KCal::ResourceTVAnytime::readConfig()" << endl;
@@ -116,7 +116,7 @@ void ResourceTVAnytime::readConfig( const KConfig *config )
}
-void ResourceTVAnytime::writeConfig( KConfig *config )
+void ResourceTVAnytime::writeConfig( TDEConfig *config )
{
kdDebug() << "KCal::ResourceTVAnytime::writeConfig()" << endl;
@@ -178,9 +178,9 @@ bool ResourceTVAnytime::doLoad()
kdDebug(5850) << " DESTINATION: " << destination.url() << endl;
// TODO: find out if the file to download is fresh. if not, just work with the cache.
- mDownloadJob = KIO::file_copy( url, destination, -1, true );
- connect( mDownloadJob, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotJobResult( KIO::Job * ) ) );
+ mDownloadJob = TDEIO::file_copy( url, destination, -1, true );
+ connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading program schedule") );
@@ -192,7 +192,7 @@ bool ResourceTVAnytime::doLoad()
return true;
}
-void ResourceTVAnytime::slotJobResult( KIO::Job *job )
+void ResourceTVAnytime::slotJobResult( TDEIO::Job *job )
{
kdDebug() << "ResourceTVAnytime::slotJobResult(): " << endl;