diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-03-16 14:57:58 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-11 14:51:36 (GMT) |
commit | 2e91de4a0046c17ff41f4ed533542a5fc3858087 (patch) | |
tree | 1e0d95f295e1ea49cac65165ef33a720225f8c3c /src | |
parent | 415039d9c9dab219505cc082981e2175a8977b03 (diff) | |
download | Qt-2e91de4a0046c17ff41f4ed533542a5fc3858087.zip Qt-2e91de4a0046c17ff41f4ed533542a5fc3858087.tar.gz Qt-2e91de4a0046c17ff41f4ed533542a5fc3858087.tar.bz2 |
Renamed QPannableGesture to QPanningGesture.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qgesture.cpp | 12 | ||||
-rw-r--r-- | src/gui/kernel/qgesture.h | 6 | ||||
-rw-r--r-- | src/gui/kernel/qgesture_p.h | 4 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/kernel/qgesture.cpp b/src/gui/kernel/qgesture.cpp index 35a3e2a..76101f2 100644 --- a/src/gui/kernel/qgesture.cpp +++ b/src/gui/kernel/qgesture.cpp @@ -221,9 +221,9 @@ QPoint QGesture::pos() const } /*! - \class QPannableGesture + \class QPanningGesture - \brief The QPannableGesture class represents a Pan gesture, + \brief The QPanningGesture class represents a Pan gesture, providing additional information related to panning. This class is provided for convenience, panning direction @@ -232,21 +232,21 @@ QPoint QGesture::pos() const */ /*! - \property QPannableGesture::lastDirection + \property QPanningGesture::lastDirection \brief The last recorded direction of panning. */ -Qt::DirectionType QPannableGesture::lastDirection() const +Qt::DirectionType QPanningGesture::lastDirection() const { return qVariantValue<Qt::DirectionType>(property("lastDirection")); } /*! - \property QPannableGesture::direction + \property QPanningGesture::direction \brief The current direction of panning. */ -Qt::DirectionType QPannableGesture::direction() const +Qt::DirectionType QPanningGesture::direction() const { return qVariantValue<Qt::DirectionType>(property("direction")); } diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index 4e692be..b9e86a3 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -101,11 +101,11 @@ private: Qt::GestureState gestureState_; }; -class QPannableGesturePrivate; -class Q_GUI_EXPORT QPannableGesture : public QGesture +class QPanningGesturePrivate; +class Q_GUI_EXPORT QPanningGesture : public QGesture { Q_OBJECT - Q_DECLARE_PRIVATE(QPannableGesture) + Q_DECLARE_PRIVATE(QPanningGesture) Q_PROPERTY(Qt::DirectionType lastDirection READ lastDirection) Q_PROPERTY(Qt::DirectionType direction READ direction) diff --git a/src/gui/kernel/qgesture_p.h b/src/gui/kernel/qgesture_p.h index 028a622..24350d4 100644 --- a/src/gui/kernel/qgesture_p.h +++ b/src/gui/kernel/qgesture_p.h @@ -91,9 +91,9 @@ public: QPoint pos; }; -class QPannableGesturePrivate : public QGesturePrivate +class QPanningGesturePrivate : public QGesturePrivate { - Q_DECLARE_PUBLIC(QPannableGesture) + Q_DECLARE_PUBLIC(QPanningGesture) }; QT_END_NAMESPACE |