"Go to background ims no "Show statusbar" and works
[ghostsoverboard] / seaview.h
index dcbd566..4475d69 100644 (file)
--- a/seaview.h
+++ b/seaview.h
@@ -24,6 +24,7 @@
 #define SEAVIEW_H
 
 #include <QGraphicsView>
+#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