summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseGlobalTargets.cmake
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-06-10 15:32:26 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-06-18 18:53:40 +0200
commit28ef8d283db336d0d1641b8fbab31eac5b46a498 (patch)
treee349521d8d16c35adb248d3ca3e88dd869f33fc2 /cmake/QtBaseGlobalTargets.cmake
parent68de38ded1c0e5387ae29aacaee50ba5dacfc59a (diff)
Add QPointingDevice argument to every QWSI input event handler function
We want every QInputEvent to carry a valid device pointer. It may be some time until all QPA plugins are sending it, but it's necessary to provide the functions for them to start doing that. We now try to maintain the same order of arguments to all the functions. handleTouchEvent(window, timestamp, device, the rest) was already there (except "device" has changed type now), and is used in a lot of platform plugins; so it seems easiest to let that set the precedent, and modify the rest to match. We do that by adding new functions; we can deprecate the older functions after it becomes clear that the new ones work well. However the handleGestureEvent functions have only ever been used in the cocoa plugin, so it's easy to change their argument order right now. Modify tst_qwindow::tabletEvents() to test new tablet event API. Task-number: QTBUG-46412 Change-Id: I1828b61183cf51f3a08774936156c6a91cfc9a12 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'cmake/QtBaseGlobalTargets.cmake')
0 files changed, 0 insertions, 0 deletions