diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-12-05 12:08:02 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-02-10 20:24:48 +0000 |
commit | f3cf71bae2e4bdc83ffa661d7273f6709b006615 (patch) | |
tree | ba6571c497cb981f979426d01081af2cd3f722ea /src/quick/handlers/qquickpointerhandler_p.h | |
parent | 146c0bd566a0a1d4bd92619eefeae272d45a44bc (diff) |
notify all passive-grabbing PointerHandlers when exclusive grab changes
Change-Id: I45df7abdbd91e068a69101ed27e2ec44272e3899
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler_p.h')
-rw-r--r-- | src/quick/handlers/qquickpointerhandler_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickpointerhandler_p.h b/src/quick/handlers/qquickpointerhandler_p.h index 526a60262b..0931cfcfad 100644 --- a/src/quick/handlers/qquickpointerhandler_p.h +++ b/src/quick/handlers/qquickpointerhandler_p.h @@ -103,6 +103,7 @@ protected: void setExclusiveGrab(QQuickEventPoint *point, bool grab = true); void cancelAllGrabs(QQuickEventPoint *point); virtual void handleGrabCancel(QQuickEventPoint *point); + virtual void handleGrab(QQuickEventPoint *point, QQuickPointerHandler *grabber, bool grab); QPointF eventPos(const QQuickEventPoint *point) const; bool parentContains(const QQuickEventPoint *point) const; |