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