src/hbwidgets/sliders/hbratingslider.h
changeset 21 4633027730f5
parent 1 f7ac710697a9
child 28 b7da29130b0e
--- a/src/hbwidgets/sliders/hbratingslider.h	Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/sliders/hbratingslider.h	Wed Aug 18 10:05:37 2010 +0300
@@ -34,11 +34,11 @@
 {
     Q_OBJECT
     Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
-	Q_PROPERTY(int numberOfIcons READ numberOfIcons WRITE setNumberOfIcons)
-	Q_PROPERTY(int stepCount READ stepCount WRITE setStepCount)
-	Q_PROPERTY(int currentRating READ currentRating WRITE setCurrentRating)
-	Q_PROPERTY(QString unRatedIconName READ unRatedIconName WRITE setUnRatedIconName)
-	Q_PROPERTY(QString ratedIconName READ ratedIconName WRITE setRatedIconName)
+    Q_PROPERTY(int numberOfIcons READ numberOfIcons WRITE setNumberOfIcons)
+    Q_PROPERTY(int stepCount READ stepCount WRITE setStepCount)
+    Q_PROPERTY(int currentRating READ currentRating WRITE setCurrentRating)
+    Q_PROPERTY(QString unRatedIconName READ unRatedIconName WRITE setUnRatedIconName)
+    Q_PROPERTY(QString ratedIconName READ ratedIconName WRITE setRatedIconName)
 
 public:
     explicit HbRatingSlider(QGraphicsItem *parent = 0);
@@ -46,12 +46,12 @@
 
     enum { Type = Hb::ItemType_RatingSlider };
     int type() const { return Type; }
-	
-	void setNumberOfIcons(int number);
-	int numberOfIcons() const;
+    
+    void setNumberOfIcons(int number);
+    int numberOfIcons() const;
 
-	void setStepCount(int count);
-	int stepCount()const;
+    void setStepCount(int count);
+    int stepCount()const;
 
     bool isReadOnly() const;
     void setReadOnly(bool value);
@@ -63,11 +63,11 @@
     QString unRatedIconName() const;
 
     void setRatedIconName(const QString name);
-	QString ratedIconName() const;
+    QString ratedIconName() const;
 
-	QGraphicsItem * primitive(HbStyle::Primitive primitive) const; 
-	
-	void setGeometry(const QRectF &rect);
+    QGraphicsItem * primitive(HbStyle::Primitive primitive) const; 
+    
+    void setGeometry(const QRectF &rect);
 
 public slots :
     void updatePrimitives();
@@ -88,7 +88,7 @@
 #endif
     void initStyleOption(HbStyleOption *option) const;
     void changeEvent(QEvent *event);
-	QVariant itemChange(GraphicsItemChange change, const QVariant &value);
+    QVariant itemChange(GraphicsItemChange change, const QVariant &value);
 
 private:
     Q_DECLARE_PRIVATE_D( d_ptr, HbRatingSlider)