diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-09-10 15:37:34 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-09-14 07:55:02 +0000 |
commit | 0a3eec60cab3c453b378ee45ac335e0dc2951f4b (patch) | |
tree | 652d937937390350f5be164ab5132261b3145f6b /src/quick/handlers/qquickhandlerpoint.cpp | |
parent | 983c036972248c1eb94a0df196951f15210cd71e (diff) |
Doc: fix grabPermissions and other enumeration properties
* grabPermissions is a flags property, not bool.
* Add a list of the possible grabPermissions values.
* Fix two other places where \qmlproperty enum was used
instead of enumeration.
* acceptedButtons, acceptedDevices, acceptedModifiers and
acceptedPointerTypes are flags properties, not plain int.
Change-Id: I6f49dcc1e1762e913e4989b208380d64899630a6
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickhandlerpoint.cpp')
-rw-r--r-- | src/quick/handlers/qquickhandlerpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/handlers/qquickhandlerpoint.cpp b/src/quick/handlers/qquickhandlerpoint.cpp index 00347245ee..6a106b5464 100644 --- a/src/quick/handlers/qquickhandlerpoint.cpp +++ b/src/quick/handlers/qquickhandlerpoint.cpp @@ -269,7 +269,7 @@ void QQuickHandlerPoint::reset(const QVector<QQuickHandlerPoint> &points) /*! \readonly - \qmlproperty enum QtQuick::HandlerPoint::pressedButtons + \qmlproperty enumeration QtQuick::HandlerPoint::pressedButtons \brief Which mouse or stylus buttons are currently pressed \sa MouseArea::pressedButtons @@ -277,7 +277,7 @@ void QQuickHandlerPoint::reset(const QVector<QQuickHandlerPoint> &points) /*! \readonly - \qmlproperty enum QtQuick::HandlerPoint::modifiers + \qmlproperty enumeration QtQuick::HandlerPoint::modifiers \brief Which modifier keys are currently pressed This property holds the keyboard modifiers that were pressed at the time |