From 4bb787f41f7cdefac2aac33ef59317b7157302c1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:38:13 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- ktimer/ktimer.cpp | 8 ++++---- ktimer/ktimer.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'ktimer') diff --git a/ktimer/ktimer.cpp b/ktimer/ktimer.cpp index cff3083..43808fb 100644 --- a/ktimer/ktimer.cpp +++ b/ktimer/ktimer.cpp @@ -244,7 +244,7 @@ void KTimerPref::jobFinished( KTimerJob *job, bool error ) } -void KTimerPref::saveJobs( KConfig *cfg ) +void KTimerPref::saveJobs( TDEConfig *cfg ) { int num = 0; KTimerJobItem *item = static_cast(m_list->firstChild()); @@ -261,7 +261,7 @@ void KTimerPref::saveJobs( KConfig *cfg ) } -void KTimerPref::loadJobs( KConfig *cfg ) +void KTimerPref::loadJobs( TDEConfig *cfg ) { cfg->setGroup( "Jobs" ); int num = cfg->readNumEntry( "Number", 0 ); @@ -330,7 +330,7 @@ KTimerJob::~KTimerJob() } -void KTimerJob::load( KConfig *cfg, const TQString& grp ) +void KTimerJob::load( TDEConfig *cfg, const TQString& grp ) { cfg->setGroup( grp ); cfg->writeEntry( "Delay", d->delay ); @@ -341,7 +341,7 @@ void KTimerJob::load( KConfig *cfg, const TQString& grp ) } -void KTimerJob::save( KConfig *cfg, const TQString& grp ) +void KTimerJob::save( TDEConfig *cfg, const TQString& grp ) { cfg->setGroup( grp ); setDelay( cfg->readNumEntry( "Delay", 100 ) ); diff --git a/ktimer/ktimer.h b/ktimer/ktimer.h index 0a646fb..41b1822 100644 --- a/ktimer/ktimer.h +++ b/ktimer/ktimer.h @@ -46,8 +46,8 @@ class KTimerJob : public TQObject { void *user(); void setUser( void *user ); - void load( KConfig *cfg, const TQString& grp ); - void save( KConfig *cfg, const TQString& grp ); + void load( TDEConfig *cfg, const TQString& grp ); + void save( TDEConfig *cfg, const TQString& grp ); public slots: void setDelay( unsigned sec ); @@ -101,8 +101,8 @@ class KTimerPref : public PrefWidget void remove(); void currentChanged( TQListViewItem * ); - void saveJobs( KConfig *cfg ); - void loadJobs( KConfig *cfg ); + void saveJobs( TDEConfig *cfg ); + void loadJobs( TDEConfig *cfg ); private slots: void jobChanged( KTimerJob *job ); -- cgit v1.2.1