diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbmovable.h')
-rw-r--r-- | utils/themeeditor/graphics/rbmovable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbmovable.h b/utils/themeeditor/graphics/rbmovable.h index e8ef69b5bd..5b6330228d 100644 --- a/utils/themeeditor/graphics/rbmovable.h +++ b/utils/themeeditor/graphics/rbmovable.h | |||
@@ -41,6 +41,8 @@ public: | |||
41 | 41 | ||
42 | virtual void paint(QPainter *painter, | 42 | virtual void paint(QPainter *painter, |
43 | const QStyleOptionGraphicsItem *option, QWidget *widget); | 43 | const QStyleOptionGraphicsItem *option, QWidget *widget); |
44 | virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); | ||
45 | virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); | ||
44 | 46 | ||
45 | protected: | 47 | protected: |
46 | virtual QVariant itemChange(GraphicsItemChange change, | 48 | virtual QVariant itemChange(GraphicsItemChange change, |
@@ -48,6 +50,8 @@ protected: | |||
48 | /* Responsible for updating the parse tree */ | 50 | /* Responsible for updating the parse tree */ |
49 | virtual void saveGeometry() = 0; | 51 | virtual void saveGeometry() = 0; |
50 | 52 | ||
53 | bool geomChanged; | ||
54 | |||
51 | }; | 55 | }; |
52 | 56 | ||
53 | #endif // RBMOVABLE_H | 57 | #endif // RBMOVABLE_H |