Diffstat (limited to 'noncore/games/backgammon/backgammonview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/backgammon/backgammonview.cpp | 8 |
1 files changed, 7 insertions, 1 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 @@ -2,16 +2,22 @@ BackGammonView::BackGammonView(QCanvas* canvas,QWidget* parent) :QCanvasView(canvas,parent) { + //do nothing } + + BackGammonView::~BackGammonView() { + //do nothing } + + void BackGammonView::contentsMousePressEvent(QMouseEvent* e) { int x=e->x(); int y=e->y(); - //emit mousepressed(x,y); + emit mouse(x,y); }
\ No newline at end of file |