summaryrefslogtreecommitdiffstats
path: root/kanagram/src
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src')
-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);
}