diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-07-22 11:19:14 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-07-29 17:38:29 +0200 |
commit | 519367a98334b658a93ed1ba096dba92858445c7 (patch) | |
tree | 44d2e328d3f3075c4c64859ae3d3880c2d9f6116 /lib/render_widget_host_view_qt.h | |
parent | c4083f0d8b06f7ede95968a010153fcc49f8d51c (diff) |
Forward touch events.
This lets the page receive touch events sent to the QWidget/QQuickItem.
Change-Id: Ic358d4963d6af3df57d37a02b471cd442e8947ce
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'lib/render_widget_host_view_qt.h')
-rw-r--r-- | lib/render_widget_host_view_qt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/render_widget_host_view_qt.h b/lib/render_widget_host_view_qt.h index 8ad3ceed2..7a29e1d4b 100644 --- a/lib/render_widget_host_view_qt.h +++ b/lib/render_widget_host_view_qt.h @@ -52,6 +52,7 @@ class QEvent; class QFocusEvent; class QKeyEvent; class QMouseEvent; +class QTouchEvent; class QWheelEvent; class RenderWidgetHostViewQtDelegate; @@ -126,6 +127,7 @@ public: void handleMouseEvent(QMouseEvent*); void handleKeyEvent(QKeyEvent*); void handleWheelEvent(QWheelEvent*); + void handleTouchEvent(QTouchEvent*); void handleFocusEvent(QFocusEvent*); #if defined(OS_MACOSX) |