summaryrefslogtreecommitdiffstats
path: root/kanagram
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:38:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:17:57 +0900
commitc8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6 (patch)
tree546585ccc13868dc2e89ed4728a4911123bd3849 /kanagram
parent402e94ba9dc2f1ac6e929b18919e9c31c228b47e (diff)
downloadtdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.tar.gz
tdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kanagram')
-rw-r--r--kanagram/src/kanagram.cpp4
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);
}