Fine tuning save and restore and adding maemo5 style notifications
[impuzzle] / src / gameview.h
index 54e3393..3eb2d7c 100644 (file)
@@ -34,7 +34,7 @@ public:
     QList<PuzzleItem *> pieces() const;
     QPointF emptyPlace();
     void setEmptyPlace(const QPointF &place);
-    bool areAllPiecesOk() const;
+    bool areAllPiecesOk();
     void setMovingPieces();
 
 public slots:
@@ -43,6 +43,9 @@ public slots:
     bool restoreGame();
     bool saveGame();
 
+signals:
+    void gameWon();
+
 protected:
     void closeEvent(QCloseEvent *event);