diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:39:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 11:02:18 +0900 |
commit | 4243c1195d662a4e6e0971cef547520ece2c6673 (patch) | |
tree | c2ad6162439ea0d563c5a094be51a756340b33ab /ksnake | |
parent | 05581ab8401a949370656e30b27918af89675edc (diff) | |
download | tdegames-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.cpp | 2 | ||||
-rw-r--r-- | ksnake/rattler.cpp | 4 |
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) { |