diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-09-08 10:40:36 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-09-08 10:41:51 (GMT) |
commit | 59a2ff150795e1281e6b4fea435e74d3434a5ad2 (patch) | |
tree | 9c70ff9737f7259738e1c9f67b6907765fed8ea2 /src/gui/kernel | |
parent | 1aa1346645c30690c46c0bec7aaeee09c8b68690 (diff) | |
download | Qt-59a2ff150795e1281e6b4fea435e74d3434a5ad2.zip Qt-59a2ff150795e1281e6b4fea435e74d3434a5ad2.tar.gz Qt-59a2ff150795e1281e6b4fea435e74d3434a5ad2.tar.bz2 |
Experimental multi-touch implementation
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qwindowsysteminterface_qpa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface_qpa.h b/src/gui/kernel/qwindowsysteminterface_qpa.h index 5ff4275..1c79f2a 100644 --- a/src/gui/kernel/qwindowsysteminterface_qpa.h +++ b/src/gui/kernel/qwindowsysteminterface_qpa.h @@ -73,7 +73,7 @@ public: QPointF normalPosition; // touch device coordinates, (0 to 1, 0 to 1) QRectF area; // the touched area, centered at position in screen coordinates qreal pressure; // 0 to 1 - Qt::TouchPointStates state; //Qt::TouchPoint{Pressed|Moved|Stationary|Released} + Qt::TouchPointState state; //Qt::TouchPoint{Pressed|Moved|Stationary|Released} }; static void handleTouchEvent(QWidget *w, QEvent::Type type, QTouchEvent::DeviceType devType, const QList<struct TouchPoint> &points); |