author | waspe <waspe> | 2003-05-16 16:34:55 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-05-16 16:34:55 (UTC) |
commit | 11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8 (patch) (unidiff) | |
tree | 3013dbafcb4e1f919e104204d1288f0309da5641 /noncore/games/backgammon/backgammonview.cpp | |
parent | 75f1e9815410e75a6f9ae76d8db716c0c315ea45 (diff) | |
download | opie-11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8.zip opie-11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8.tar.gz opie-11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'noncore/games/backgammon/backgammonview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/backgammon/backgammonview.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/noncore/games/backgammon/backgammonview.cpp b/noncore/games/backgammon/backgammonview.cpp index ecbc12b..6ee8f10 100644 --- a/noncore/games/backgammon/backgammonview.cpp +++ b/noncore/games/backgammon/backgammonview.cpp | |||
@@ -1,17 +1,23 @@ | |||
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 | } | 7 | } |
7 | 8 | ||
9 | |||
10 | |||
8 | BackGammonView::~BackGammonView() | 11 | BackGammonView::~BackGammonView() |
9 | { | 12 | { |
13 | //do nothing | ||
10 | } | 14 | } |
11 | 15 | ||
16 | |||
17 | |||
12 | void BackGammonView::contentsMousePressEvent(QMouseEvent* e) | 18 | void BackGammonView::contentsMousePressEvent(QMouseEvent* e) |
13 | { | 19 | { |
14 | int x=e->x(); | 20 | int x=e->x(); |
15 | int y=e->y(); | 21 | int y=e->y(); |
16 | //emit mousepressed(x,y); | 22 | emit mouse(x,y); |
17 | } \ No newline at end of file | 23 | } |