diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-03-16 10:54:28 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-11 14:51:33 (GMT) |
commit | d8e4d20f3d225a3c29168d7a9440f2efc129ea8e (patch) | |
tree | eae87a4c25033ad6ecd840ff78a9a2c1cb401a60 | |
parent | 04bb61d39f56fb7a980bda26241b86a8c41724de (diff) | |
download | Qt-d8e4d20f3d225a3c29168d7a9440f2efc129ea8e.zip Qt-d8e4d20f3d225a3c29168d7a9440f2efc129ea8e.tar.gz Qt-d8e4d20f3d225a3c29168d7a9440f2efc129ea8e.tar.bz2 |
Added meta-object properties to QGesture object.
-rw-r--r-- | src/gui/kernel/qgesture.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesture.h b/src/gui/kernel/qgesture.h index f20a63c..8bd312b 100644 --- a/src/gui/kernel/qgesture.h +++ b/src/gui/kernel/qgesture.h @@ -60,6 +60,15 @@ class Q_GUI_EXPORT QGesture : public QObject { Q_OBJECT Q_DECLARE_PRIVATE(QGesture) + + Q_PROPERTY(QRect rect READ rect) + Q_PROPERTY(QPoint hotSpot READ hotSpot) + Q_PROPERTY(QDateTime startTime READ startTime) + Q_PROPERTY(uint duration READ duration) + Q_PROPERTY(QPoint startPos READ startPos) + Q_PROPERTY(QPoint lastPos READ lastPos) + Q_PROPERTY(QPoint pos READ pos) + public: explicit QGesture(QObject *parent, const QString &type, Qt::GestureState state = Qt::GestureStarted); |