diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-18 10:49:11 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-18 10:49:11 (GMT) |
commit | 3b04dba36b31360d94583f382b9054bcdea0e2a7 (patch) | |
tree | f56d1329980987a21d0c457e21ebb99f820e3ef2 /src/gui/kernel/qevent_p.h | |
parent | 9756f523fd1c31192a87c65449434280a59b49f7 (diff) | |
download | Qt-3b04dba36b31360d94583f382b9054bcdea0e2a7.zip Qt-3b04dba36b31360d94583f382b9054bcdea0e2a7.tar.gz Qt-3b04dba36b31360d94583f382b9054bcdea0e2a7.tar.bz2 |
Change behavior of how touch and mouse events work together
We now send both types of events, i.e. accepting TouchBegin doesn't block mouse events anymore. We
are also introducing the idea of a "primary" touch point, which is the one that the system is also
generating mouse events for.
This lets us reuse existing mouse event code while still being able to add multi-touch support.
Diffstat (limited to 'src/gui/kernel/qevent_p.h')
-rw-r--r-- | src/gui/kernel/qevent_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qevent_p.h b/src/gui/kernel/qevent_p.h index 4c066a3..53d7a23 100644 --- a/src/gui/kernel/qevent_p.h +++ b/src/gui/kernel/qevent_p.h @@ -110,7 +110,7 @@ public: QAtomicInt ref; int id; - Qt::TouchPointState state; + Qt::TouchPointStates state; QRectF rect, sceneRect, screenRect; QPointF startPos, startScenePos, startScreenPos; QPointF lastPos, lastScenePos, lastScreenPos; |