From bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:38:51 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6) --- kanagram/src/kanagram.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kanagram') diff --git a/kanagram/src/kanagram.cpp b/kanagram/src/kanagram.cpp index 9b826f43..bf0f0c1f 100644 --- a/kanagram/src/kanagram.cpp +++ b/kanagram/src/kanagram.cpp @@ -432,7 +432,7 @@ void Kanagram::mousePressEvent(TQMouseEvent *e) if(m_switcherRect.contains(e->pos()) || m_arrowRect.contains(e->pos())) { - if(!(e->button() == Qt::RightButton)) + if(!(e->button() == TQt::RightButton)) m_game->nextVocab(); else m_game->previousVocab(); @@ -723,7 +723,7 @@ void Kanagram::drawTextNew(TQPainter &p, const TQString &text, int textAlign, in void Kanagram::checkWord() { TQPoint p = m_upRect.topLeft() + TQPoint( 1, 1 ); - TQMouseEvent *e = new TQMouseEvent( TQEvent::MouseButtonPress, p, Qt::LeftButton, Qt::NoButton ); + TQMouseEvent *e = new TQMouseEvent( TQEvent::MouseButtonPress, p, TQt::LeftButton, TQt::NoButton ); mousePressEvent(e); } -- cgit v1.2.1