summaryrefslogtreecommitdiffstats
path: root/ksnake
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-06 11:39:06 +0900
committerMichele Calgaro <[email protected]>2023-11-07 11:03:40 +0900
commitafc67225900e0375f32048f4df27f32986704a67 (patch)
tree1fe1cadfa3aef633b34a3a773d111c55f07213d0 /ksnake
parent0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff)
downloadtdegames-afc67225900e0375f32048f4df27f32986704a67.tar.gz
tdegames-afc67225900e0375f32048f4df27f32986704a67.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673)
Diffstat (limited to 'ksnake')
-rw-r--r--ksnake/progress.cpp2
-rw-r--r--ksnake/rattler.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/ksnake/progress.cpp b/ksnake/progress.cpp
index 547ddbab..f155a5ac 100644
--- a/ksnake/progress.cpp
+++ b/ksnake/progress.cpp
@@ -26,7 +26,7 @@
#include "progress.h"
Progress::Progress(TQWidget *parent, const char *name)
- : KGameProgress(0, 300, 300, Qt::Horizontal, parent, name)
+ : KGameProgress(0, 300, 300, TQt::Horizontal, parent, name)
{
setBarColor("green1");
setTextEnabled(false);
diff --git a/ksnake/rattler.cpp b/ksnake/rattler.cpp
index 400e9794..d7bc630c 100644
--- a/ksnake/rattler.cpp
+++ b/ksnake/rattler.cpp
@@ -196,7 +196,7 @@ void Rattler::mousePressEvent( TQMouseEvent *e )
return;
uint button = e->button();
- if (button == Qt::RightButton)
+ if (button == TQt::RightButton)
{
switch (direction)
{
@@ -211,7 +211,7 @@ void Rattler::mousePressEvent( TQMouseEvent *e )
}
e->accept();
}
- else if (button == Qt::LeftButton)
+ else if (button == TQt::LeftButton)
{
switch (direction)
{