diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:39:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 11:03:40 +0900 |
commit | afc67225900e0375f32048f4df27f32986704a67 (patch) | |
tree | 1fe1cadfa3aef633b34a3a773d111c55f07213d0 /kbounce/game.cpp | |
parent | 0195c436ad939e6c1cde8953a9bff70ccca701e5 (diff) | |
download | tdegames-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 'kbounce/game.cpp')
-rw-r--r-- | kbounce/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbounce/game.cpp b/kbounce/game.cpp index 4b60df2e..4b2f14b3 100644 --- a/kbounce/game.cpp +++ b/kbounce/game.cpp @@ -326,13 +326,13 @@ JezzView::JezzView(TQCanvas* viewing, TQWidget* parent, const char* name, WFlags void JezzView::viewportMouseReleaseEvent( TQMouseEvent *ev ) { - if ( ev->button() & Qt::RightButton ) + if ( ev->button() & TQt::RightButton ) { m_vertical = !m_vertical; if ( m_vertical ) setCursor( sizeVerCursor ); else setCursor( sizeHorCursor ); } - if ( ev->button() & Qt::LeftButton ) + if ( ev->button() & TQt::LeftButton ) { emit buildWall( ev->x()/TILE_SIZE, ev->y()/TILE_SIZE, m_vertical ); } |