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/web_event_factory.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/web_event_factory.h')
-rw-r--r-- | lib/web_event_factory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/web_event_factory.h b/lib/web_event_factory.h index bacb7132c..a8f5ab306 100644 --- a/lib/web_event_factory.h +++ b/lib/web_event_factory.h @@ -47,6 +47,7 @@ class QMouseEvent; class QKeyEvent; +class QTouchEvent; class QWheelEvent; class WebEventFactory { @@ -54,6 +55,7 @@ class WebEventFactory { public: static WebKit::WebMouseEvent toWebMouseEvent(QMouseEvent*); static WebKit::WebMouseWheelEvent toWebWheelEvent(QWheelEvent*); + static WebKit::WebTouchEvent toWebTouchEvent(QTouchEvent*); static content::NativeWebKeyboardEvent toWebKeyboardEvent(QKeyEvent*); }; |