diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-04-19 16:02:11 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-04-20 06:11:11 +0000 |
commit | a5ab739cafde92e9b000bc7d730410c2632727fa (patch) | |
tree | 81106dc3fcfafc6790ea8ec6726fbd593d8d0daf /src/quicktemplates2/qquickpopupitem_p_p.h | |
parent | a02a54622a4eef49807060f9735c4c0d09833267 (diff) |
QQuickPopup: add touch(Ungrab)Event()
This is required for now to keep things working when QQuickControl
touchEvent() is added.
Task-number: QTBUG-58389
Change-Id: I036cc39d96d4876056e01e619163dc1bbcffce74
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpopupitem_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickpopupitem_p_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickpopupitem_p_p.h b/src/quicktemplates2/qquickpopupitem_p_p.h index ef97b038..16321feb 100644 --- a/src/quicktemplates2/qquickpopupitem_p_p.h +++ b/src/quicktemplates2/qquickpopupitem_p_p.h @@ -79,6 +79,8 @@ protected: void mouseReleaseEvent(QMouseEvent *event) override; void mouseDoubleClickEvent(QMouseEvent *event) override; void mouseUngrabEvent() override; + void touchEvent(QTouchEvent *event) override; + void touchUngrabEvent() override; #if QT_CONFIG(wheelevent) void wheelEvent(QWheelEvent *event) override; #endif |