summaryrefslogtreecommitdiffstats
path: root/src/knutfrontpanel.cpp
diff options
context:
space:
mode:
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();