summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2019-09-20 13:13:17 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2019-09-25 16:13:53 +0200
commit52889ded67c55b1bdd847b3445f271c46a5268d2 (patch)
treef94408fd1eda1f8b629dd9b3a38bbd0072b425d6
parentd570f196527c561a474dbb8443fdf8b486ed7215 (diff)
Add QQuickMultiPointTouchArea as a friend of QTouchEvent
QQuickMultiPointTouchArea needs to understand whether a stationary touchpoint has relevant property changes, to decide whether to emit its updated() signal. Amends 217dd1b3b03cd40b4bb926631464c684f7f84a69 Task-number: QTBUG-77142 Change-Id: I85e031820bef9d687369b7d67a57c67fe2875b4b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> (cherry picked from commit bc35941dbbf6cbd09805a2217ecb062c565855ad)
-rw-r--r--src/gui/kernel/qevent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index e4d3400355..30f058ea07 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -936,6 +936,7 @@ public:
friend class QApplication;
friend class QApplicationPrivate;
friend class QQuickPointerTouchEvent;
+ friend class QQuickMultiPointTouchArea;
};
#if QT_DEPRECATED_SINCE(5, 0)