aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickitem_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-09-26 14:14:26 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-10-17 12:30:29 +0000
commit32b73196594ade358e7b419b0a7563abcfe7266e (patch)
tree52c697cb9073bd44b0157b43f83c02a52e1acbea /src/quick/items/qquickitem_p.h
parent96b2323355a082599b7191f3079e8363bee825e0 (diff)
QQuickWindow: if an Item has PointerHandlers it's a delivery target
even if it does not accept mouse or touch itself. Change-Id: I4f1a05231c0ff1e89b8f7f28f0760b3af49c78a8 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/items/qquickitem_p.h')
-rw-r--r--src/quick/items/qquickitem_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickitem_p.h b/src/quick/items/qquickitem_p.h
index 446a7d0945..2f0c316602 100644
--- a/src/quick/items/qquickitem_p.h
+++ b/src/quick/items/qquickitem_p.h
@@ -279,6 +279,8 @@ public:
QQuickItemLayer *layer() const;
+ bool hasPointerHandlers() const;
+
// data property
static void data_append(QQmlListProperty<QObject> *, QObject *);
static int data_count(QQmlListProperty<QObject> *);