summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandquickitem.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-01-10 12:26:26 +0100
committerJohan Helsing <johan.helsing@qt.io>2017-01-12 12:13:03 +0000
commitfd310aac0486ac26076e0aea87f6f8e0ed9aa542 (patch)
treeeac37cd2f53019f40bbeaf7e17f8160a4b00f55f /src/compositor/compositor_api/qwaylandquickitem.h
parent5e6259b09326022324709c44ad533d004056e048 (diff)
Send touch cancel event when QWaylandQuickItem::visible is set to false
Task-number: QTBUG-57927 Change-Id: I8b6a5aaa9337222286382ffbeee13b794bec125c Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandquickitem.h')
-rw-r--r--src/compositor/compositor_api/qwaylandquickitem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem.h b/src/compositor/compositor_api/qwaylandquickitem.h
index 87d10b024..04f33db67 100644
--- a/src/compositor/compositor_api/qwaylandquickitem.h
+++ b/src/compositor/compositor_api/qwaylandquickitem.h
@@ -133,7 +133,8 @@ protected:
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
- void touchEvent(QTouchEvent *event) Q_DECL_OVERRIDE;
+ void touchEvent(QTouchEvent *event) override;
+ void touchUngrabEvent() override;
#if QT_CONFIG(im)
void inputMethodEvent(QInputMethodEvent *event) Q_DECL_OVERRIDE;