X-Git-Url: http://git.maemo.org/git/?p=impuzzle;a=blobdiff_plain;f=src%2Fpuzzleitem.h;h=a6830faeb4f1f54a71ccef0c062b1dd563e97e91;hp=3e8297e8a35a635ed65b854c71057a26242521a8;hb=79ce16073d2c39d9973ffdddfbae8a94439dbd43;hpb=fe6a84bdca195d7eae5f21447f4d9aad5226db49 diff --git a/src/puzzleitem.h b/src/puzzleitem.h index 3e8297e..a6830fa 100644 --- a/src/puzzleitem.h +++ b/src/puzzleitem.h @@ -39,7 +39,9 @@ public: void setMovable(bool canMove); void moveMeTo(const QPointF &location); static int moveCount(); + static void setMoveCount(const int count); static void resetMoveCount(); + static void setManuallyMovable(const bool manuallyMovable); void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); void setPieceNumber(const int pieceNumber); int pieceNumber() const; @@ -56,6 +58,7 @@ private: bool movable_; QPropertyAnimation *moveAnimation_; static int moveCount_; + static bool manuallyMovable_; int pieceNumber_; bool drawNumber_; };