homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h
changeset 86 e4f038c420f7
parent 71 1db7cc813a4e
child 90 3ac3aaebaee5
--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h	Wed Aug 18 10:33:57 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h	Mon Sep 13 13:03:23 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)