summaryrefslogtreecommitdiffstats
path: root/src/knutfrontpanel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:19 -0600
commite29455aea4fc1fda591862200c6321a3722e134c (patch)
treedbb3bc7ee43510962fcfa3d69b5743d8daf8c3b6 /src/knutfrontpanel.cpp
parent841ad360f807ab3ab1596308d120ef7918207e13 (diff)
downloadknutclient-e29455aea4fc1fda591862200c6321a3722e134c.tar.gz
knutclient-e29455aea4fc1fda591862200c6321a3722e134c.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/knutfrontpanel.cpp')
-rwxr-xr-xsrc/knutfrontpanel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/knutfrontpanel.cpp b/src/knutfrontpanel.cpp
index 5c5a1f2..26bad61 100755
--- a/src/knutfrontpanel.cpp
+++ b/src/knutfrontpanel.cpp
@@ -26,13 +26,13 @@
#include <tqtooltip.h>
#include <tqstring.h>
#include <tqpaintdevice.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlcdnumber.h>
//#include <tqframe.h>
#include <tqlabel.h>
#include <tqcolor.h>
#include <tqfont.h>
-#include <tqpalette.h>
+#include <palette.h>
#include <tqgroupbox.h>
#include <math.h>
@@ -465,7 +465,7 @@ void KNutFrontPanel::setRuntime(const int runtime) {
if (runtime != knc::numberVarError) {
int min = (int)floor(runtime/60);
int sec = runtime - (min*60);
- runtimeString=TQString("%1:%2").tqarg(min,2).tqarg(sec,2);
+ runtimeString=TQString("%1:%2").arg(min,2).arg(sec,2);
if (runtimeString[3] == ' ') runtimeString[3]='0';
}
else runtimeString="-:--";
@@ -615,7 +615,7 @@ void KNutFrontPanel::setAllPalettes (void){
m_frameOL->setPalette(m_bulbsPalette);
- // we must correct feature of KLed, KLed tqrepaint background when color of item (function KLed::setColor()) is changed only
+ // we must correct feature of KLed, KLed repaint background when color of item (function KLed::setColor()) is changed only
// when we change palette backround only, KLed ignore this change
myColor = m_frameOL->color();