summaryrefslogtreecommitdiffstats
path: root/src/knutfrontpanel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
commit90705c50d34801a0f7516ddc4d3bf6c295413297 (patch)
treee3b61cdd31aaddef0bf7c78231a08599f8851225 /src/knutfrontpanel.cpp
parente29455aea4fc1fda591862200c6321a3722e134c (diff)
downloadknutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.tar.gz
knutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e29455aea4fc1fda591862200c6321a3722e134c.
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 26bad61..5c5a1f2 100755
--- a/src/knutfrontpanel.cpp
+++ b/src/knutfrontpanel.cpp
@@ -26,13 +26,13 @@
#include <tqtooltip.h>
#include <tqstring.h>
#include <tqpaintdevice.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlcdnumber.h>
//#include <tqframe.h>
#include <tqlabel.h>
#include <tqcolor.h>
#include <tqfont.h>
-#include <palette.h>
+#include <tqpalette.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").arg(min,2).arg(sec,2);
+ runtimeString=TQString("%1:%2").tqarg(min,2).tqarg(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 repaint background when color of item (function KLed::setColor()) is changed only
+ // we must correct feature of KLed, KLed tqrepaint 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();