summaryrefslogtreecommitdiffstats
path: root/ksnake
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:39:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:02:18 +0900
commit4243c1195d662a4e6e0971cef547520ece2c6673 (patch)
treec2ad6162439ea0d563c5a094be51a756340b33ab /ksnake
parent05581ab8401a949370656e30b27918af89675edc (diff)
downloadtdegames-4243c1195d662a4e6e0971cef547520ece2c6673.tar.gz
tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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)
{