diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-02-09 14:39:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-10 11:41:04 +0100 |
commit | 09e2e77be25e02ff1c3ba432d739fbc5fe860ec7 (patch) | |
tree | 369e230e9b7ad53e699b151d00f1a8b629cded30 /src/gui/kernel/qguiapplication_p.h | |
parent | e5830479d62240ed0af580780c0586baca2b66a2 (diff) |
Handle TouchCancel in gui and widgets
Change-Id: I31739840348d88ae408ac1aae2399f6328ccdd43
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
-rw-r--r-- | src/gui/kernel/qguiapplication_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index d9444ebe95..3ca007fb36 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -199,6 +199,13 @@ public: QTouchEvent::TouchPoint touchPoint; }; QHash<ActiveTouchPointsKey, ActiveTouchPointsValue> activeTouchPoints; + QEvent::Type lastTouchType; + struct SynthesizedMouseData { + SynthesizedMouseData(const QPointF &p, const QPointF &sp) : pos(p), screenPos(sp) { } + QPointF pos; + QPointF screenPos; + }; + QHash<QWindow *, SynthesizedMouseData> synthesizedMousePoints; private: void init(); |