34 static QList<QWindowSystemInterface::TouchPoint> getCurrentTouchPointList(NSEvent *event,
bool acceptSingleTouch);
35 static void setMouseInDraggingState(
bool inDraggingState);
36 static QPointingDevice *getTouchDevice(QInputDevice::DeviceType type, quint64 id);
39 static QHash<quint64, QPointingDevice*> _touchDevices;
40 static QHash<qint64, QCocoaTouch*> _currentTouches;
41 static QPointF _screenReferencePos;
42 static QPointF _trackpadReferencePos;
43 static int _idAssignmentCount;
44 static int _touchCount;
45 static bool _updateInternalStateOnly;
47 QWindowSystemInterface::TouchPoint _touchPoint;
50 QCocoaTouch(NSTouch *nstouch);
53 void updateTouchData(NSTouch *nstouch, NSTouchPhase phase);
54 static QCocoaTouch *findQCocoaTouch(NSTouch *nstouch);
55 static QEventPoint::State toTouchPointState(NSTouchPhase nsState);