diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-10-12 14:11:44 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-10-13 14:15:35 +0200 |
commit | b6b6da647132f7fdf78d0601cbf7b411fda474f0 (patch) | |
tree | 42c6eddc023420111a4c080ad94d77172e24567a /src/gui/kernel/qgesture.h | |
parent | 8d9acba3ecac466fa86201e4eb760af1ccea68e3 (diff) | |
download | qt4-tools-b6b6da647132f7fdf78d0601cbf7b411fda474f0.tar.gz |
Mac: implement gestures conforming to the new API
Diffstat (limited to 'src/gui/kernel/qgesture.h')
-rw-r--r-- | src/gui/kernel/qgesture.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index bf72759c99..00348190c4 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -189,8 +189,8 @@ class Q_GUI_EXPORT QSwipeGesture : public QGesture Q_DECLARE_PRIVATE(QSwipeGesture) Q_ENUMS(SwipeDirection) - Q_PROPERTY(SwipeDirection horizontalDirection READ horizontalDirection WRITE setHorizontalDirection) - Q_PROPERTY(SwipeDirection verticalDirection READ verticalDirection WRITE setVerticalDirection) + Q_PROPERTY(SwipeDirection horizontalDirection READ horizontalDirection STORED false) + Q_PROPERTY(SwipeDirection verticalDirection READ verticalDirection STORED false) Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle) public: @@ -199,8 +199,6 @@ public: SwipeDirection horizontalDirection() const; SwipeDirection verticalDirection() const; - void setHorizontalDirection(SwipeDirection value); - void setVerticalDirection(SwipeDirection value); qreal swipeAngle() const; void setSwipeAngle(qreal value); |