diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:52 -0600 |
commit | bf280726d5d22f33d33e4f9e771220c725249407 (patch) | |
tree | 48b7496821910eb85179d543acee981cf5d16dd8 /ktimer | |
parent | c78266617c282543427d2c000b3b68fe2b6b6722 (diff) | |
download | tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.tar.gz tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ktimer')
-rw-r--r-- | ktimer/ktimer.cpp | 8 | ||||
-rw-r--r-- | ktimer/prefwidget.ui | 4 |
2 files changed, 6 insertions, 6 deletions
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<KTimerJobItem*>(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<KTimerJobItem*>(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<KTimerJobItem*>(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 ); } diff --git a/ktimer/prefwidget.ui b/ktimer/prefwidget.ui index 766d39b..1989ba4 100644 --- a/ktimer/prefwidget.ui +++ b/ktimer/prefwidget.ui @@ -106,7 +106,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>20</height> @@ -183,7 +183,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>20</height> |