diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-19 12:20:02 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-22 14:59:19 (GMT) |
commit | 0c7254e1c5a20450495afe80c1ad5246e5e48314 (patch) | |
tree | 0178591741e39aaeb8c7514eea8c60177d4faa9c /src/gui/kernel/qgesture_p.h | |
parent | 0b61c5e284462376afab15ac9189d759b859ec46 (diff) | |
download | Qt-0c7254e1c5a20450495afe80c1ad5246e5e48314.zip Qt-0c7254e1c5a20450495afe80c1ad5246e5e48314.tar.gz Qt-0c7254e1c5a20450495afe80c1ad5246e5e48314.tar.bz2 |
Improvements for gesture event delivery
When delivering GestureOverride events by default both the event and
individual gestures will be ignored. We also store the acceptance state
of individual gesture in the event and not in the gesture object, along
with its target.
Reviewed-by: Thomas Zander
Diffstat (limited to 'src/gui/kernel/qgesture_p.h')
-rw-r--r-- | src/gui/kernel/qgesture_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qgesture_p.h b/src/gui/kernel/qgesture_p.h index 7f69a4e..10887f6 100644 --- a/src/gui/kernel/qgesture_p.h +++ b/src/gui/kernel/qgesture_p.h @@ -68,7 +68,7 @@ class QGesturePrivate : public QObjectPrivate public: QGesturePrivate() : gestureType(Qt::CustomGesture), state(Qt::NoGesture), isHotSpotSet(false), - targetObject(0), accept(true) + targetObject(0) { } @@ -77,7 +77,6 @@ public: QPointF hotSpot; bool isHotSpotSet; QObject *targetObject; - bool accept; }; class QPanGesturePrivate : public QGesturePrivate |