diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:38:51 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 11:19:13 +0900 |
commit | bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a (patch) | |
tree | 0c81e36cc908785f3f54b84c01949715558c53e6 /kanagram | |
parent | e25be387c170de2528fc2134604ffab9ac26a931 (diff) | |
download | tdeedu-bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a.tar.gz tdeedu-bcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6)
Diffstat (limited to 'kanagram')
-rw-r--r-- | kanagram/src/kanagram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |