diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
commit | 4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch) | |
tree | c9726401d4eeb6fff8e78c4e35facb644c417e77 /ktimer | |
parent | aef5eada7f51ee48f3d21448db290bd8f06953a8 (diff) | |
download | tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ktimer')
-rw-r--r-- | ktimer/ktimer.cpp | 8 | ||||
-rw-r--r-- | ktimer/ktimer.h | 8 |
2 files changed, 8 insertions, 8 deletions
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<KTimerJobItem*>(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 ); |