summaryrefslogtreecommitdiffstats
path: root/knetwalk
diff options
context:
space:
mode:
Diffstat (limited to 'knetwalk')
-rw-r--r--knetwalk/src/cell.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knetwalk/src/cell.cpp b/knetwalk/src/cell.cpp
index d3ce0906..fd04932d 100644
--- a/knetwalk/src/cell.cpp
+++ b/knetwalk/src/cell.cpp
@@ -203,11 +203,11 @@ void Cell::paintEvent(TQPaintEvent*)
void Cell::mousePressEvent(TQMouseEvent* e)
{
- if(e->button() == Qt::LeftButton)
+ if(e->button() == TQt::LeftButton)
emit lClicked(iindex);
- else if(e->button() == Qt::RightButton)
+ else if(e->button() == TQt::RightButton)
emit rClicked(iindex);
- else if(e->button() == Qt::MidButton)
+ else if(e->button() == TQt::MidButton)
emit mClicked(iindex);
}