summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlfollow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util/qmlfollow.h')
-rw-r--r--src/declarative/util/qmlfollow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/util/qmlfollow.h b/src/declarative/util/qmlfollow.h
index 07e15e9..e0a588b 100644
--- a/src/declarative/util/qmlfollow.h
+++ b/src/declarative/util/qmlfollow.h
@@ -68,6 +68,7 @@ class Q_DECLARATIVE_EXPORT QmlFollow : public QmlPropertyValueSource,
Q_PROPERTY(bool enabled READ enabled WRITE setEnabled)
Q_PROPERTY(qreal followValue READ value NOTIFY valueChanged)
Q_PROPERTY(qreal modulus READ modulus WRITE setModulus NOTIFY modulusChanged)
+ Q_PROPERTY(bool inSync READ inSync NOTIFY syncChanged)
public:
QmlFollow(QObject *parent=0);
@@ -89,11 +90,13 @@ public:
void setModulus(qreal modulus);
bool enabled() const;
void setEnabled(bool enabled);
+ bool inSync() const;
qreal value() const;
Q_SIGNALS:
void valueChanged(qreal);
+ void syncChanged();
};
QT_END_NAMESPACE