homescreenapp/hsutils/inc/hspageindicator.h
changeset 51 4785f57bf3d4
parent 36 cdae8c6c3876
--- a/homescreenapp/hsutils/inc/hspageindicator.h	Fri May 14 15:43:04 2010 +0300
+++ b/homescreenapp/hsutils/inc/hspageindicator.h	Thu May 27 12:46:08 2010 +0300
@@ -32,7 +32,7 @@
     Q_OBJECT
 
 public:
-    HsPageIndicator(QGraphicsItem *parent = 0);
+    HsPageIndicator(qreal spacing, QGraphicsItem *parent = 0);
     ~HsPageIndicator();
 
     void initialize(int itemCount, int activeItemIndex);
@@ -47,6 +47,8 @@
 
     bool isAnimationRunning() const;
 
+    void setSpacing(qreal spacing);
+
 private:
     Q_DISABLE_COPY(HsPageIndicator)
     void layoutItems();    
@@ -54,6 +56,7 @@
 private:
     QList<HsPageIndicatorItem *> mItems;    
     int mActiveItemIndex;
+    qreal mSpacing;
 
     HOMESCREEN_TEST_FRIEND_CLASS(t_hsUtils)
 };