From bf280726d5d22f33d33e4f9e771220c725249407 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:52 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- ktimer/ktimer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ktimer/ktimer.cpp') diff --git a/ktimer/ktimer.cpp b/ktimer/ktimer.cpp index a387d87..62d7460 100644 --- a/ktimer/ktimer.cpp +++ b/ktimer/ktimer.cpp @@ -59,7 +59,7 @@ public: KTimerJob *job() { return m_job; }; - void settqStatus( bool error ) { + void setStatus( bool error ) { m_error = error; update(); } @@ -239,7 +239,7 @@ void KTimerPref::jobChanged( KTimerJob *job ) void KTimerPref::jobFinished( KTimerJob *job, bool error ) { KTimerJobItem *item = static_cast(job->user()); - item->settqStatus( error ); + item->setStatus( error ); m_list->triggerUpdate(); } @@ -249,7 +249,7 @@ void KTimerPref::saveJobs( KConfig *cfg ) int num = 0; KTimerJobItem *item = static_cast(m_list->firstChild()); while( item ) { - item->job()->save( cfg, TQString("Job%1").tqarg( num ) ); + item->job()->save( cfg, TQString("Job%1").arg( num ) ); item = static_cast(item->nextSibling()); num++; } @@ -280,7 +280,7 @@ void KTimerPref::loadJobs( KConfig *cfg ) connect( job, TQT_SIGNAL(finished(KTimerJob*,bool)), TQT_SLOT(jobFinished(KTimerJob*,bool)) ); - job->load( cfg, TQString( "Job%1" ).tqarg(n) ); + job->load( cfg, TQString( "Job%1" ).arg(n) ); job->setUser( item ); } -- cgit v1.2.3