X-Git-Url: http://git.maemo.org/git/?p=impuzzle;a=blobdiff_plain;f=src%2Fpuzzleitem.h;h=8cf4819f7201e122347ad3bee2f9641dd4fd4176;hp=0fb58276862615bb6e161196a4fa3372222b36bf;hb=a27dea60eebff3d5bd0068f31e7d042e8c7d0048;hpb=e90ecb7db7b5d4d22fb08f8053db4423797b5afc diff --git a/src/puzzleitem.h b/src/puzzleitem.h index 0fb5827..8cf4819 100644 --- a/src/puzzleitem.h +++ b/src/puzzleitem.h @@ -38,6 +38,8 @@ public: bool movable() const; void setMovable(bool canMove); void moveMeTo(const QPointF &location); + static int moveCount(); + static void resetMoveCount(); protected: void mousePressEvent(QGraphicsSceneMouseEvent *event); @@ -48,5 +50,6 @@ private: QPointF currentPlace_; bool movable_; QPropertyAnimation *moveAnimation_; + static int moveCount_; }; #endif