diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-04 20:14:51 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-04 18:16:22 +0000 |
commit | a0c19178dac1808a3d040204609aa97b5baa3c18 (patch) | |
tree | d92b2dd140f5a2f7755e07659a423f0c2da36afa /src/templates/qquickslider.cpp | |
parent | 99bbe5643b293aaad7b7ccb299989f62b8f6dced (diff) |
Docs: use constant-value -tables for supported enum values
Change-Id: I6243e08099d1fdd0584817f7ff5ccf5825a8cae0
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickslider.cpp')
-rw-r--r-- | src/templates/qquickslider.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/templates/qquickslider.cpp b/src/templates/qquickslider.cpp index c733fbb2..7327ebe9 100644 --- a/src/templates/qquickslider.cpp +++ b/src/templates/qquickslider.cpp @@ -309,11 +309,9 @@ void QQuickSlider::setStepSize(qreal step) This property holds the snap mode. Possible values: - \list - \li \c Slider.NoSnap (default) - The slider does not snap. - \li \c Slider.SnapAlways - The slider snaps while the handle is dragged. - \li \c Slider.SnapOnRelease - The slider does not snap while being dragged, but only after the handle is released. - \endlist + \value Slider.NoSnap The slider does not snap (default). + \value Slider.SnapAlways The slider snaps while the handle is dragged. + \value Slider.SnapOnRelease The slider does not snap while being dragged, but only after the handle is released. \sa stepSize */ @@ -359,10 +357,8 @@ void QQuickSlider::setPressed(bool pressed) This property holds the orientation. Possible values: - \list - \li \c Qt.Horizontal (default) - \li \c Qt.Vertical - \endlist + \value Qt.Horizontal Horizontal (default) + \value Qt.Vertical Vertical */ Qt::Orientation QQuickSlider::orientation() const { |