QSlider: fix qdoc warnings
authorJ-P Nurmi <j-p.nurmi@nokia.com>
Wed, 15 Aug 2012 14:01:12 +0000 (16:01 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 18 Aug 2012 04:17:45 +0000 (06:17 +0200)
Removed some Qt3 support leftovers and docs for qt_qsliderStyleOption()
that qdoc wasn't able to tie to anything.

Change-Id: I49bb886b639fe11e4923ef8486e0b9f8a966b10c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
src/widgets/widgets/qslider.cpp

index 5f37240..cbdc437 100644 (file)
@@ -279,13 +279,6 @@ QStyle::SubControl QSliderPrivate::newHoverControl(const QPoint &pos)
     \value TicksBelow Draw tick marks below the (horizontal) slider
     \value TicksLeft Draw tick marks to the left of the (vertical) slider
     \value TicksRight Draw tick marks to the right of the (vertical) slider
-
-    \omitvalue NoMarks
-    \omitvalue Above
-    \omitvalue Left
-    \omitvalue Below
-    \omitvalue Right
-    \omitvalue Both
 */
 
 
@@ -540,11 +533,11 @@ QSlider::TickPosition QSlider::tickPosition() const
     \brief the interval between tickmarks
 
     This is a value interval, not a pixel interval. If it is 0, the
-    slider will choose between singleStep() and pageStep().
+    slider will choose between singleStep and pageStep.
 
     The default value is 0.
 
-    \sa tickPosition, lineStep(), pageStep()
+    \sa tickPosition, singleStep, pageStep
 */
 
 void QSlider::setTickInterval(int ts)
@@ -558,21 +551,6 @@ int QSlider::tickInterval() const
     return d_func()->tickInterval;
 }
 
-/*!
-    \fn void QSlider::addStep()
-
-    Use setValue() instead.
-*/
-
-/*!
-    \fn void QSlider::subtractStep()
-
-    Use setValue() instead.
-*/
-
-/*! \internal
-    Returns the style option for slider.
-*/
 Q_WIDGETS_EXPORT QStyleOptionSlider qt_qsliderStyleOption(QSlider *slider)
 {
     QStyleOptionSlider sliderOption;