src/hbwidgets/itemviews/hbindexfeedback.cpp
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
--- a/src/hbwidgets/itemviews/hbindexfeedback.cpp	Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/itemviews/hbindexfeedback.cpp	Mon May 03 12:48:33 2010 +0300
@@ -237,6 +237,10 @@
 }
 
 /*!
+
+    \deprecated HbIndexFeedback::primitive(HbStyle::Primitive)
+        is deprecated.
+
     Returns the primitives used in HbIndexFeedback.
 
     \param primitive The primitive type requested.
@@ -351,23 +355,23 @@
         case IndexFeedbackSingleCharacter:
             {
                 fontSpec = HbFontSpec(HbFontSpec::Primary);
-                fontSpec.setTextPaneHeight(d->textHeight());
+                fontSpec.setTextHeight(d->textHeight());
             }
             break;
             
         case IndexFeedbackThreeCharacter:
             {
                 fontSpec = HbFontSpec(HbFontSpec::Primary);
-                fontSpec.setTextPaneHeight(d->textHeight());
+                fontSpec.setTextHeight(d->textHeight());
             }
             break;
 
         case IndexFeedbackString:
             {
                 fontSpec = HbFontSpec(HbFontSpec::Primary);
-                qreal textPaneHeight = 0;
-                style()->parameter(QLatin1String("hb-param-text-height-primary"), textPaneHeight);
-                fontSpec.setTextPaneHeight( textPaneHeight );
+                qreal textHeight = 0;
+                style()->parameter(QLatin1String("hb-param-text-height-primary"), textHeight);
+                fontSpec.setTextHeight( textHeight );
             }
             break;