From a0c19178dac1808a3d040204609aa97b5baa3c18 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sun, 4 Oct 2015 20:14:51 +0200 Subject: Docs: use constant-value -tables for supported enum values Change-Id: I6243e08099d1fdd0584817f7ff5ccf5825a8cae0 Reviewed-by: J-P Nurmi --- src/templates/qquickslider.cpp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/templates/qquickslider.cpp') 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 { -- cgit v1.2.3