diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbprogressbar.h')
-rw-r--r-- | utils/themeeditor/graphics/rbprogressbar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbprogressbar.h b/utils/themeeditor/graphics/rbprogressbar.h index e72479853e..817285653a 100644 --- a/utils/themeeditor/graphics/rbprogressbar.h +++ b/utils/themeeditor/graphics/rbprogressbar.h | |||
@@ -25,12 +25,13 @@ | |||
25 | #include <QGraphicsItem> | 25 | #include <QGraphicsItem> |
26 | #include <QPixmap> | 26 | #include <QPixmap> |
27 | 27 | ||
28 | #include "rbmovable.h" | ||
28 | #include "rbrenderinfo.h" | 29 | #include "rbrenderinfo.h" |
29 | #include "rbviewport.h" | 30 | #include "rbviewport.h" |
30 | #include "devicestate.h" | 31 | #include "devicestate.h" |
31 | #include "skin_parser.h" | 32 | #include "skin_parser.h" |
32 | 33 | ||
33 | class RBProgressBar : public QGraphicsItem | 34 | class RBProgressBar : public RBMovable |
34 | { | 35 | { |
35 | public: | 36 | public: |
36 | RBProgressBar(RBViewport* parent, const RBRenderInfo& info, | 37 | RBProgressBar(RBViewport* parent, const RBRenderInfo& info, |
@@ -41,6 +42,9 @@ public: | |||
41 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, | 42 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, |
42 | QWidget *widget); | 43 | QWidget *widget); |
43 | 44 | ||
45 | protected: | ||
46 | void saveGeometry(); | ||
47 | |||
44 | private: | 48 | private: |
45 | QPixmap* bitmap; | 49 | QPixmap* bitmap; |
46 | QColor color; | 50 | QColor color; |