summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qgesture.cpp12
-rw-r--r--src/gui/kernel/qgesture.h6
-rw-r--r--src/gui/kernel/qgesture_p.h4
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