53 #ifndef QMULTITOUCH_MAC_P_H 54 #define QMULTITOUCH_MAC_P_H 56 #ifdef QT_MAC_USE_COCOA 57 #import <Cocoa/Cocoa.h> 64 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 68 #ifdef QT_MAC_USE_COCOA 74 static void setMouseInDraggingState(
bool inDraggingState);
78 static QPointF _screenReferencePos;
79 static QPointF _trackpadReferencePos;
80 static int _idAssignmentCount;
81 static int _touchCount;
82 static bool _updateInternalStateOnly;
87 QCocoaTouch(NSTouch *nstouch);
90 void updateTouchData(NSTouch *nstouch, NSTouchPhase phase);
91 static QCocoaTouch *findQCocoaTouch(NSTouch *nstouch);
95 #endif // QT_MAC_USE_COCOA 99 #endif // MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 101 #endif // QMULTITOUCH_MAC_P_H #define QT_END_NAMESPACE
This macro expands to.
The QPointF class defines a point in the plane using floating point precision.
The QHash class is a template class that provides a hash-table-based dictionary.
#define QT_BEGIN_NAMESPACE
This macro expands to.
TouchPointState
This enum represents the state of a touch point at the time the QTouchEvent occurred.
The TouchPoint class provides information about a touch point in a QTouchEvent.