summaryrefslogtreecommitdiffstats
path: root/ktimer
diff options
context:
space:
mode:
Diffstat (limited to 'ktimer')
-rw-r--r--ktimer/ktimer.cpp8
-rw-r--r--ktimer/ktimer.h8
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 );