From 689d6d445ca03ede8b069d0e540137c4cf5895a5 Mon Sep 17 00:00:00 2001
From: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Date: Tue, 19 Jul 2011 16:34:29 +0200
Subject: [PATCH] QmlJS: add signals implemented by GestureArea

manually adds onTap,... to GestureArea, as it uses a custom parser and
is "opaque" for the code model. Fixes QTCREATORBUG-5489 .

A workflow (separate generated and annotated files?) will have to be
introduced to ensure that this change is not lost.

Change-Id: Ibe7554432b000702b293a8b482c04048c07021af
Reviewed-on: http://codereview.qt.nokia.com/1836
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
---
 .../qml-type-descriptions/qt-labs-gestures.qmltypes         | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/share/qtcreator/qml-type-descriptions/qt-labs-gestures.qmltypes b/share/qtcreator/qml-type-descriptions/qt-labs-gestures.qmltypes
index f17eab145ba..a9a6476e9b7 100644
--- a/share/qtcreator/qml-type-descriptions/qt-labs-gestures.qmltypes
+++ b/share/qtcreator/qml-type-descriptions/qt-labs-gestures.qmltypes
@@ -12,6 +12,12 @@ Module {
             "Qt.labs.gestures/GestureArea 1.0"
         ]
         Property { name: "gesture"; type: "QGesture"; isReadonly: true; isPointer: true }
+        Signal { name: "tap" }
+        Signal { name: "tapAndHold" }
+        Signal { name: "pan" }
+        Signal { name: "pinch" }
+        Signal { name: "swipe" }
+        Signal { name: "gesture" }
     }
     Component {
         name: "QGesture"
-- 
GitLab