aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickwheelhandler.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-11-04 12:37:45 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-11-05 09:00:48 +0100
commit0b12055548a8781b0c328991c267d62222667e8e (patch)
treede91b0183203dd00318fed9fa5ca4cff6713142a /src/quick/handlers/qquickwheelhandler.cpp
parentc01ad45d67ec0ce96d6944496dc292a94f17efea (diff)
Doc: Fix documentation warnings for Qt Quick
- Remove links to modules and examples that are not part of Qt 6. - Remove links to entities marked as \internal - Add missing enum value and QML property docs where it's trivial to do so. Task-number: QTBUG-88156 Change-Id: I10a1c7bcc5fe0e2354ea69eaf24930362edb7415 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickwheelhandler.cpp')
-rw-r--r--src/quick/handlers/qquickwheelhandler.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/quick/handlers/qquickwheelhandler.cpp b/src/quick/handlers/qquickwheelhandler.cpp
index b9c112a0d2..563bf16b49 100644
--- a/src/quick/handlers/qquickwheelhandler.cpp
+++ b/src/quick/handlers/qquickwheelhandler.cpp
@@ -163,10 +163,12 @@ void QQuickWheelHandler::setInvertible(bool invertible)
\l {Qt::ScrollPhase}{scroll phase} information, such as events from some
touchpads, the \l active property will become \c false as soon as an event
with phase \l Qt::ScrollEnd is received; in that case the timeout is not
- necessary. But a conventional mouse with a wheel does not provide the
- \l {QQuickPointerScrollEvent::phase}{scroll phase}: the mouse cannot detect
- when the user has decided to stop scrolling, so the \l active property
- transitions to \c false after this much time has elapsed.
+ necessary. But a conventional mouse with a wheel does not provide a scroll
+ phase: the mouse cannot detect when the user has decided to stop
+ scrolling, so the \l active property transitions to \c false after this
+ much time has elapsed.
+
+ \sa QWheelEvent::phase()
*/
qreal QQuickWheelHandler::activeTimeout() const
{
@@ -506,8 +508,9 @@ void QQuickWheelHandler::timerEvent(QTimerEvent *event)
/*!
\qmlsignal QtQuick::WheelHandler::wheel(PointerScrollEvent event)
- This signal is emitted every time this handler receives a \l QWheelEvent:
- that is, every time the wheel is moved or the scrolling gesture is updated.
+ This signal is emitted every time this handler receives an \a event
+ of type \l QWheelEvent: that is, every time the wheel is moved or the
+ scrolling gesture is updated.
*/
QQuickWheelHandlerPrivate::QQuickWheelHandlerPrivate()