diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-04-25 00:06:39 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-04-26 17:24:30 +0000 |
commit | 763b247911cb58663c749e44064e2ab6fc3396f8 (patch) | |
tree | 1cfef065718e8842bc22ac2b22da249dfbb4b81a /src/quicktemplates2/qquickdrawer_p_p.h | |
parent | 3326439361d3ec4e60bcdb189e6bfb75189136ca (diff) |
Enable touch events for popups and drawers
Change-Id: Icc0a496facdc2ada1c87b4b02c49a58cb9a4daec
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdrawer_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickdrawer_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickdrawer_p_p.h b/src/quicktemplates2/qquickdrawer_p_p.h index bcfd7206..8956acef 100644 --- a/src/quicktemplates2/qquickdrawer_p_p.h +++ b/src/quicktemplates2/qquickdrawer_p_p.h @@ -72,6 +72,7 @@ public: bool startDrag(QEvent *event); bool grabMouse(QQuickItem *item, QMouseEvent *event); + bool grabTouch(QQuickItem *item, QTouchEvent *event); bool handlePress(QQuickItem* item, const QPointF &point, ulong timestamp) override; bool handleMove(QQuickItem* item, const QPointF &point, ulong timestamp) override; |