diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-22 20:39:24 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-26 10:42:28 (GMT) |
commit | f3cbbd7b8388b4c7445a5fa56d59abdae6c532cb (patch) | |
tree | 7ba56743b6a00eed6f6c8787c71371ec242b53b0 /src/gui/kernel/qevent.h | |
parent | dc54674e9f8998b4aee3a58d06f6b5533ccd3cfe (diff) | |
download | Qt-f3cbbd7b8388b4c7445a5fa56d59abdae6c532cb.zip Qt-f3cbbd7b8388b4c7445a5fa56d59abdae6c532cb.tar.gz Qt-f3cbbd7b8388b4c7445a5fa56d59abdae6c532cb.tar.bz2 |
Added convenience functions QGestureEvent::setAccepted with a gesture
type argument.
Reviewed-by: Thomas Zander
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index b7370fd..fb245c0 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -851,6 +851,11 @@ public: void ignore(QGesture *); bool isAccepted(QGesture *) const; + void setAccepted(Qt::GestureType, bool); + void accept(Qt::GestureType); + void ignore(Qt::GestureType); + bool isAccepted(Qt::GestureType) const; + void setWidget(QWidget *widget); QWidget *widget() const; |