From afc67225900e0375f32048f4df27f32986704a67 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:39:06 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 4243c1195d662a4e6e0971cef547520ece2c6673) --- kblackbox/kbbgame.cpp | 4 ++-- kblackbox/kbbgfx.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kblackbox') 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 ); } -- cgit v1.2.1