homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h
changeset 92 6727c5d0afc7
parent 77 4b195f3bea29
child 90 3ac3aaebaee5
--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h	Thu Sep 02 20:17:27 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h	Fri Sep 17 08:27:54 2010 +0300
@@ -27,12 +27,17 @@
 // It should be remove when fix from orbit will be in official platfrom.
 class HsProgressBar: public HbProgressBar {
 public:
-    HsProgressBar(QGraphicsItem *parent=0):HbProgressBar(parent) {}
-    
+    HsProgressBar(QGraphicsItem *parent=0):HbProgressBar(parent),mTargetValue(0),mTimerId(0) {}
+    void setTargetProgressValue(int value);
+
 protected:
     void paint ( QPainter * painter, 
             const QStyleOptionGraphicsItem * option, 
             QWidget * widget = 0 );
+    void timerEvent(QTimerEvent *event);
+private:
+    int mTargetValue;
+    int mTimerId;
 };
 
 HS_STATES_TEST_CLASS(MenuStatesTest)