diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-27 15:59:36 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-08-27 16:00:40 +0200 |
commit | 74dfe3e87c6a126e090a86b918f383e4bba9cb5a (patch) | |
tree | 912aa572c51a78d71b13867cf0edead4ff000eca /src/gui/kernel/qstandardgestures_p.h | |
parent | 13ccfeb578f86709ce5cb17c2cde94a5320da379 (diff) | |
download | qt4-tools-74dfe3e87c6a126e090a86b918f383e4bba9cb5a.tar.gz |
Gestures: Implement swipe gesture
Note: if this fails building on any platform, talk to Denis!
Diffstat (limited to 'src/gui/kernel/qstandardgestures_p.h')
-rw-r--r-- | src/gui/kernel/qstandardgestures_p.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/kernel/qstandardgestures_p.h b/src/gui/kernel/qstandardgestures_p.h index 0a4debe128..9829cf0cbf 100644 --- a/src/gui/kernel/qstandardgestures_p.h +++ b/src/gui/kernel/qstandardgestures_p.h @@ -110,6 +110,20 @@ public: #endif }; +class QSwipeGesturePrivate : public QGesturePrivate +{ + Q_DECLARE_PUBLIC(QSwipeGesture) + +public: + QSwipeGesturePrivate() + : swipeAngle(-1) + { + } + + void setupGestureTarget(QObject *o); + qreal swipeAngle; +}; + QT_END_NAMESPACE #endif // QSTANDARDGESTURES_P_H |