Set target and device for touch events.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Thu, 8 Dec 2011 10:46:47 +0000 (12:46 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 9 Dec 2011 20:23:00 +0000 (21:23 +0100)
commit99cf198b2b459333099e19ca777a563b96614a85
treeb4169762ff30c5ada7d9272c9b92cd334c279a82
parent5456784005655ec9277832f0a07beda4e3d0a55f
Set target and device for touch events.

The QWidget dependency is being removed from QTouchEvent and therefore
widget() will be removed. There will be QObject *target() instead.

deviceType() has been deprecated and is replaced by QTouchDevice
*device().

Change-Id: Ic07b2c620fbfc1ae2e5eff85c8fc7269c7d5e2a8
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/quick/items/qquickcanvas.cpp
tests/auto/qtquick2/qquickcanvas/tst_qquickcanvas.cpp
tests/auto/qtquick2/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp
tests/auto/qtquick2/qquickpincharea/tst_qquickpincharea.cpp