summaryrefslogtreecommitdiffstats
path: root/kgoldrunner/src/kgrgame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgoldrunner/src/kgrgame.cpp')
-rw-r--r--kgoldrunner/src/kgrgame.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kgoldrunner/src/kgrgame.cpp b/kgoldrunner/src/kgrgame.cpp
index ffe0987d..3f584008 100644
--- a/kgoldrunner/src/kgrgame.cpp
+++ b/kgoldrunner/src/kgrgame.cpp
@@ -741,8 +741,8 @@ void KGrGame::doDig (int button) {
startPlaying(); // If first player-input, start playing.
}
switch (button) {
- case Qt::LeftButton: hero->digLeft (); break;
- case Qt::RightButton: hero->digRight (); break;
+ case TQt::LeftButton: hero->digLeft (); break;
+ case TQt::RightButton: hero->digRight (); break;
default: break;
}
}
@@ -2090,8 +2090,8 @@ void KGrGame::doEdit (int button)
i = p.x(); j = p.y();
switch (button) {
- case Qt::LeftButton:
- case Qt::RightButton:
+ case TQt::LeftButton:
+ case TQt::RightButton:
paintEditObj = TRUE;
insertEditObj (i, j);
view->updateCanvas();
@@ -2113,8 +2113,8 @@ void KGrGame::endEdit (int button)
i = p.x(); j = p.y();
switch (button) {
- case Qt::LeftButton:
- case Qt::RightButton:
+ case TQt::LeftButton:
+ case TQt::RightButton:
paintEditObj = FALSE;
if ((i != oldI) || (j != oldJ)) {
insertEditObj (i, j);