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:02:18 +0900 |
commit | 4243c1195d662a4e6e0971cef547520ece2c6673 (patch) | |
tree | c2ad6162439ea0d563c5a094be51a756340b33ab /kbounce | |
parent | 05581ab8401a949370656e30b27918af89675edc (diff) | |
download | tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.tar.gz tdegames-4243c1195d662a4e6e0971cef547520ece2c6673.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kbounce')
-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 ); } |