diff options
author | Zeno Albisser <zeno.albisser@nokia.com> | 2010-09-10 09:04:06 (GMT) |
---|---|---|
committer | Zeno Albisser <zeno.albisser@nokia.com> | 2010-09-13 14:42:41 (GMT) |
commit | d65259a3444a08919f1f19b9d2dcbe9b182752aa (patch) | |
tree | 18d13f117e1abba4725abc8a421e97857bdd1a03 /src/gui/kernel/qgesture.h | |
parent | dc343981c65af9d279a08ae4a664ec664dbb3cea (diff) | |
download | Qt-d65259a3444a08919f1f19b9d2dcbe9b182752aa.zip Qt-d65259a3444a08919f1f19b9d2dcbe9b182752aa.tar.gz Qt-d65259a3444a08919f1f19b9d2dcbe9b182752aa.tar.bz2 |
Added velocity property to the QPanGesture.
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'src/gui/kernel/qgesture.h')
-rw-r--r-- | src/gui/kernel/qgesture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index 1ba6e10..2e279b0 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -112,6 +112,8 @@ class Q_GUI_EXPORT QPanGesture : public QGesture Q_PROPERTY(QPointF offset READ offset WRITE setOffset) Q_PROPERTY(QPointF delta READ delta STORED false) Q_PROPERTY(qreal acceleration READ acceleration WRITE setAcceleration) + Q_PRIVATE_PROPERTY(QPanGesture::d_func(), qreal horizontalVelocity READ horizontalVelocity WRITE setHorizontalVelocity) + Q_PRIVATE_PROPERTY(QPanGesture::d_func(), qreal verticalVelocity READ verticalVelocity WRITE setVerticalVelocity) public: QPanGesture(QObject *parent = 0); |