X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=seaview.h;h=4475d69994dcc029c1e0aef75327e15ba2f9d480;hb=4521cae82611f549d31287457a31a553ea05a0f4;hp=06a67e4cf95f82e630b115c48e05a955597a67cb;hpb=024ba91057ba3387b9d7328e5d4392d4112be8a8;p=ghostsoverboard diff --git a/seaview.h b/seaview.h index 06a67e4..4475d69 100644 --- a/seaview.h +++ b/seaview.h @@ -24,6 +24,7 @@ #define SEAVIEW_H #include +#include "seascene.h" class SeaView : public QGraphicsView { @@ -31,10 +32,27 @@ class SeaView : public QGraphicsView public: explicit SeaView(QWidget *parent = 0); + virtual void mousePressEvent(QMouseEvent *event); + + bool event(QEvent *event); + signals: + void screenTapped(); + + void goingBackgroung(); + + void goingForeground(); + public slots: + void initializeBoundaries(); + + +protected: + + SeaScene * pScene_; + }; #endif // SEAVIEW_H