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:02:18 +0900
commit4243c1195d662a4e6e0971cef547520ece2c6673 (patch)
treec2ad6162439ea0d563c5a094be51a756340b33ab /kblackbox
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 '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 );
}