summaryrefslogtreecommitdiffstats
path: root/kblackbox
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:03:40 +0900
commitafc67225900e0375f32048f4df27f32986704a67 (patch)
tree1fe1cadfa3aef633b34a3a773d111c55f07213d0 /kblackbox
parent0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff)
downloadtdegames-afc67225900e0375f32048f4df27f32986704a67.tar.gz
tdegames-afc67225900e0375f32048f4df27f32986704a67.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673)
Diffstat (limited to 'kblackbox')
-rw-r--r--kblackbox/kbbgame.cpp4
-rw-r--r--kblackbox/kbbgfx.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kblackbox/kbbgame.cpp b/kblackbox/kbbgame.cpp
index 01fc7bc4..2920f02e 100644
--- a/kblackbox/kbbgame.cpp
+++ b/kblackbox/kbbgame.cpp
@@ -622,7 +622,7 @@ void KBBGame::gotInputAt( int col, int row, int state )
int w = gameBoard->width() - 2;
int h = gameBoard->height() - 2;
- if (state & Qt::LeftButton) {
+ if (state & TQt::LeftButton) {
switch (type) {
case WBALLBBG: // because of the tutorial mode
case INNERBBG:
@@ -681,7 +681,7 @@ void KBBGame::gotInputAt( int col, int row, int state )
}
break;
}
- } else if (state & Qt::RightButton) {
+ } else if (state & TQt::RightButton) {
switch (type) {
case INNERBBG:
r->set( col, row, MARK1BBG );
diff --git a/kblackbox/kbbgfx.cpp b/kblackbox/kbbgfx.cpp
index c3af718e..3aff0369 100644
--- a/kblackbox/kbbgfx.cpp
+++ b/kblackbox/kbbgfx.cpp
@@ -342,7 +342,7 @@ void KBBGraphic::mousePressEvent( TQMouseEvent* e )
/*
* Middle click finishes the game.
*/
- if (e->button() == Qt::MidButton) {
+ if (e->button() == TQt::MidButton) {
emit endMouseClicked();
return;
}
@@ -413,7 +413,7 @@ void KBBGraphic::slotInput()
if ( !inputAccepted ) {
return;
}
- emit inputAt( curCol, curRow, Qt::LeftButton );
+ emit inputAt( curCol, curRow, TQt::LeftButton );
// updateElement( curCol, curRow );
}