diff options
Diffstat (limited to 'kresources/tvanytime')
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytime.cpp | 14 | ||||
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytime.h | 10 | ||||
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp | 2 |
3 files changed, 13 insertions, 13 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; diff --git a/kresources/tvanytime/kcal_resourcetvanytime.h b/kresources/tvanytime/kcal_resourcetvanytime.h index 526d1f181..1c8bd9c90 100644 --- a/kresources/tvanytime/kcal_resourcetvanytime.h +++ b/kresources/tvanytime/kcal_resourcetvanytime.h @@ -56,11 +56,11 @@ class KDE_EXPORT ResourceTVAnytime : public ResourceCached public: ResourceTVAnytime(); - ResourceTVAnytime( const KConfig * ); + ResourceTVAnytime( const TDEConfig * ); virtual ~ResourceTVAnytime(); - void readConfig( const KConfig *config ); - void writeConfig( KConfig *config ); + void readConfig( const TDEConfig *config ); + void writeConfig( TDEConfig *config ); TVAnytimePrefsBase *prefs(); @@ -101,7 +101,7 @@ class KDE_EXPORT ResourceTVAnytime : public ResourceCached bool readProgrammeInformation( const TQDomDocument & ); protected slots: - void slotJobResult( KIO::Job * ); + void slotJobResult( TDEIO::Job * ); void cancelLoad(); void slotEmitResourceChanged(); @@ -109,7 +109,7 @@ class KDE_EXPORT ResourceTVAnytime : public ResourceCached TVAnytimePrefsBase *mPrefs; KABC::LockNull mLock; - KIO::FileCopyJob *mDownloadJob; + TDEIO::FileCopyJob *mDownloadJob; KPIM::ProgressItem *mProgress; bool mIsShowingError; diff --git a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp index 110a62f9e..f9ec2a499 100644 --- a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp +++ b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp @@ -70,7 +70,7 @@ void ResourceTVAnytimeConfig::loadSettings( KRES::Resource *resource ) kdError() << "No PREF" << endl; return; } - KConfigSkeleton::ItemInt * daysItem = res->prefs()->daysItem(); + TDEConfigSkeleton::ItemInt * daysItem = res->prefs()->daysItem(); mDays->setMinValue( daysItem->minValue().toInt() ); mDays->setMaxValue( daysItem->maxValue().toInt() ); TQWhatsThis::add( mDays, daysItem->whatsThis() ); |