diff options
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 ); } |