-rw-r--r-- | noncore/games/backgammon/backgammonview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/games/backgammon/backgammonview.cpp b/noncore/games/backgammon/backgammonview.cpp index 6ee8f10..d9e8e6f 100644 --- a/noncore/games/backgammon/backgammonview.cpp +++ b/noncore/games/backgammon/backgammonview.cpp | |||
@@ -1,23 +1,24 @@ | |||
1 | #include "backgammonview.h" | 1 | #include "backgammonview.h" |
2 | 2 | ||
3 | BackGammonView::BackGammonView(QCanvas* canvas,QWidget* parent) | 3 | BackGammonView::BackGammonView(QCanvas* canvas,QWidget* parent) |
4 | :QCanvasView(canvas,parent) | 4 | :QCanvasView(canvas,parent) |
5 | { | 5 | { |
6 | //do nothing | 6 | //do nothing |
7 | } | 7 | } |
8 | 8 | ||
9 | 9 | ||
10 | 10 | ||
11 | BackGammonView::~BackGammonView() | 11 | BackGammonView::~BackGammonView() |
12 | { | 12 | { |
13 | //do nothing | 13 | //do nothing |
14 | } | 14 | } |
15 | 15 | ||
16 | 16 | ||
17 | 17 | ||
18 | void BackGammonView::contentsMousePressEvent(QMouseEvent* e) | 18 | void BackGammonView::contentsMousePressEvent(QMouseEvent* e) |
19 | { | 19 | { |
20 | int x=e->x(); | 20 | int x=e->x(); |
21 | int y=e->y(); | 21 | int y=e->y(); |
22 | emit mouse(x,y); | 22 | emit mouse(x,y); |
23 | } | 23 | } |
24 | |||