summaryrefslogtreecommitdiffstats
path: root/kblackbox
diff options
context:
space:
mode:
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 );
}