diff options
author | Zeno Albisser <zeno.albisser@nokia.com> | 2010-09-10 04:20:55 -0400 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2010-09-13 10:40:36 -0400 |
commit | dc343981c65af9d279a08ae4a664ec664dbb3cea (patch) | |
tree | 1f6bff50f2f71e12497f56f09c9c1f24c2d4d911 /src/gui/kernel/qgesture.h | |
parent | 7f96f211d15d7af28146682356ad1363c5d9f4a9 (diff) |
Changed the speed property on QSwipeGesture to velocity
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'src/gui/kernel/qgesture.h')
-rw-r--r-- | src/gui/kernel/qgesture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index dcb02648a1..1ba6e10dbb 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -210,6 +210,7 @@ class Q_GUI_EXPORT QSwipeGesture : public QGesture Q_PROPERTY(SwipeDirection horizontalDirection READ horizontalDirection STORED false) Q_PROPERTY(SwipeDirection verticalDirection READ verticalDirection STORED false) Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle) + Q_PRIVATE_PROPERTY(QSwipeGesture::d_func(), qreal velocity READ velocity WRITE setVelocity) public: enum SwipeDirection { NoDirection, Left, Right, Up, Down }; |