src/hbcore/style/hbstyleoptionratingslider.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbcore/style/hbstyleoptionratingslider.cpp	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbcore/style/hbstyleoptionratingslider.cpp	Mon May 03 12:48:33 2010 +0300
@@ -32,19 +32,36 @@
     \brief HbStyleOptionProgressBar has the style component for progress bar primitives
 
 */
+
+
+/*!
+
+    \deprecated HbStyleOptionRatingSlider::HbStyleOptionRatingSlider()
+    is deprecated. Styleoptions will not be public.
+
+*/
 HbStyleOptionRatingSlider::HbStyleOptionRatingSlider()
  {
     type = Type;
     version = Version;
-	progressValue=0;
-	inverted=false;
-	noOfIntervals=5;
-	noOfStars=5;
 }
 
+
+
+/*!
+
+    \deprecated HbStyleOptionRatingSlider::HbStyleOptionRatingSlider(const HbStyleOptionRatingSlider&)
+    is deprecated. Styleoptions will not be public.
+
+*/
 HbStyleOptionRatingSlider::HbStyleOptionRatingSlider(const HbStyleOptionRatingSlider &other) :
-    HbStyleOption(other)
-  
+    HbStyleOption(other),
+    progressValue(other.progressValue),
+    inverted(other.inverted),
+    noOfIntervals(other.noOfIntervals),
+    noOfStars(other.noOfStars),
+    unRatedGraphicsName(other.unRatedGraphicsName),
+    ratedGraphicsName(other.ratedGraphicsName)
 {
     type = Type;
     version = Version;