summaryrefslogtreecommitdiffstats
path: root/klickety/board.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klickety/board.cpp')
-rw-r--r--klickety/board.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/klickety/board.cpp b/klickety/board.cpp
index b60e766a..4b531b5b 100644
--- a/klickety/board.cpp
+++ b/klickety/board.cpp
@@ -8,7 +8,7 @@ using namespace KGrid2D;
void KLBoard::contentsMouseReleaseEvent(TQMouseEvent *e)
{
- if ( e->button()!=LeftButton || blocked ) return;
+ if ( e->button()!=Qt::LeftButton || blocked ) return;
TQCanvasItemList list = canvas()->collisions(e->pos());
if ( list.count()==0 ) return;
@@ -26,8 +26,8 @@ void KLBoard::contentsMouseReleaseEvent(TQMouseEvent *e)
}
}
-KLBoard::KLBoard(TQWidget *parent)
- : BaseBoard(true, parent),
+KLBoard::KLBoard(TQWidget *tqparent)
+ : BaseBoard(true, tqparent),
field(matrix().width(), matrix().height()),
empty(matrix().width()),
blocked(false)