diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-09 18:52:29 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-12 09:31:39 (GMT) |
commit | 681639c326f20b77329539b282b0eb4f173fe961 (patch) | |
tree | 5abce8a7da1c25f5e8abce5c28b68d410d20595f /src/gui/kernel/qgesture.h | |
parent | a2e061b7aa2fda92d891d9783217a5d87b8df5d0 (diff) | |
download | Qt-681639c326f20b77329539b282b0eb4f173fe961.zip Qt-681639c326f20b77329539b282b0eb4f173fe961.tar.gz Qt-681639c326f20b77329539b282b0eb4f173fe961.tar.bz2 |
Removed the QGesture contructor that we don't really need.
The constructor that accepts a gesture type is not needed because the
gesture type id will be generated by Qt and assigned to the QGesture
object when a custom gesture recognizer is registered within the
framework.
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qgesture.h')
-rw-r--r-- | src/gui/kernel/qgesture.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index b37120f..bf72759 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -70,8 +70,7 @@ class Q_GUI_EXPORT QGesture : public QObject Q_PROPERTY(QObject* targetObject READ targetObject WRITE setTargetObject) public: - explicit QGesture(Qt::GestureType type = Qt::CustomGesture, QObject *parent = 0); - explicit QGesture(QObject *parent); + explicit QGesture(QObject *parent = 0); ~QGesture(); Qt::GestureType gestureType() const; @@ -87,7 +86,7 @@ public: void unsetHotSpot(); protected: - QGesture(QGesturePrivate &dd, Qt::GestureType type, QObject *parent); + QGesture(QGesturePrivate &dd, QObject *parent); private: friend class QGestureEvent; |