7
function clearCounts() {
8
touchPointPressCount = 0;
9
touchPointUpdateCount = 0;
10
touchPointReleaseCount = 0;
12
touchUpdatedHandled = false;
15
property int touchPointPressCount: 0
16
property int touchPointUpdateCount: 0
17
property int touchPointReleaseCount: 0
18
property int touchCount: 0
19
property bool touchUpdatedHandled: false
23
onPressed: { touchPointPressCount = touchPoints.length }
24
onUpdated: { touchPointUpdateCount = touchPoints.length }
25
onReleased: { touchPointReleaseCount = touchPoints.length }
27
touchCount = touchPoints.length
28
touchUpdatedHandled = true