summaryrefslogtreecommitdiffstats
path: root/src/imports/gestures
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-17 19:16:50 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-17 19:16:50 (GMT)
commit006929de7f84430278e370eaa468a93fa3a1fb96 (patch)
treee6fdfc64e6efc162585f8f6c01492b4925c46527 /src/imports/gestures
parent72900c3004825514244ebd38f38c0443b9774ad3 (diff)
downloadQt-006929de7f84430278e370eaa468a93fa3a1fb96.zip
Qt-006929de7f84430278e370eaa468a93fa3a1fb96.tar.gz
Qt-006929de7f84430278e370eaa468a93fa3a1fb96.tar.bz2
Doc: Fixed invalid/incomplete QML code snippets.
Diffstat (limited to 'src/imports/gestures')
-rw-r--r--src/imports/gestures/qdeclarativegesturearea.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/imports/gestures/qdeclarativegesturearea.cpp b/src/imports/gestures/qdeclarativegesturearea.cpp
index ba3adc5..1b6e723 100644
--- a/src/imports/gestures/qdeclarativegesturearea.cpp
+++ b/src/imports/gestures/qdeclarativegesturearea.cpp
@@ -86,22 +86,22 @@ public:
A GestureArea is like a MouseArea, but it has signals for gesture events.
- \e {Elements in the Qt.labs module are not guaranteed to remain compatible
- in future versions.}
+ \warning Elements in the Qt.labs module are not guaranteed to remain compatible
+ in future versions.
- \e {This element is only functional on devices with touch input.}
+ \note This element is only functional on devices with touch input.
\qml
import Qt.labs.gestures 1.0
GestureArea {
anchors.fill: parent
- onPan: ... gesture.acceleration ...
- onPinch: ... gesture.rotationAngle ...
- onSwipe: ...
- onTapAndHold: ...
- onTap: ...
- onGesture: ...
+ // onPan: ... gesture.acceleration ...
+ // onPinch: ... gesture.rotationAngle ...
+ // onSwipe: ...
+ // onTapAndHold: ...
+ // onTap: ...
+ // onGesture: ...
}
\endqml