Changed the section to user/hidden as required for Nokia Store
[ghostsoverboard] / seaview.h
index dcbd566..6fa4756 100644 (file)
--- a/seaview.h
+++ b/seaview.h
@@ -1,5 +1,5 @@
 /**************************************************************************
-        Ghosts Overboard - a game for Maemo 5
+        Ghosts Overboard - a game for 'Meego 1.2 Harmattan'
 
         Copyright (C) 2011  Heli Hyvättinen
 
 #ifndef SEAVIEW_H
 #define SEAVIEW_H
 
-#include <QGraphicsView>
+#include <QDeclarativeView>
+#include "seascene.h"
 
-class SeaView : public QGraphicsView
+class SeaView : public QDeclarativeView
 {
     Q_OBJECT
 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