tests: port touchGraphicsItem to Qt 6

Replace deprecated APIs with recent ones:
* QTouchEvent::touchPoints() -> points()
* QEventPoint::pos() -> position()
* QPointingDevice::Capabilities and etc -> QInputDevice::Capability

Pick-to: 6.5 6.2
Change-Id: I45335886199a65e519cbd4872138e0715dd08103
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit 1b5c6d0009fb2f3b418b84ae610c1ed39509c0e5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d51205b0b4eda13da8e2a9f5b28eb0fb296f8da7)
This commit is contained in:
Liang Qi 2024-09-19 14:03:24 +02:00 committed by Qt Cherry-pick Bot
parent 71993682ea
commit 08519dbed7

Diff Content Not Available