summaryrefslogtreecommitdiff
path: root/src/declarative/util/qdeclarativetransition_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-23 13:45:53 +1000
committerMichael Brasser <michael.brasser@nokia.com>2010-03-23 13:49:12 +1000
commit714fac87324b9007e5f82487d2c4a10b1997616e (patch)
tree8b0832ee6ad805badd5a9dc2b04a5bd68d2979cc /src/declarative/util/qdeclarativetransition_p.h
parent7711d400e4ad4d65363bc910d76acdf0d1065195 (diff)
downloadqt4-tools-714fac87324b9007e5f82487d2c4a10b1997616e.tar.gz
Add missing NOTIFYs.
Task-number: QTBUG-8816
Diffstat (limited to 'src/declarative/util/qdeclarativetransition_p.h')
-rw-r--r--src/declarative/util/qdeclarativetransition_p.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/declarative/util/qdeclarativetransition_p.h b/src/declarative/util/qdeclarativetransition_p.h
index 861111a225..2f9e7b5f4f 100644
--- a/src/declarative/util/qdeclarativetransition_p.h
+++ b/src/declarative/util/qdeclarativetransition_p.h
@@ -62,9 +62,9 @@ class Q_DECLARATIVE_EXPORT QDeclarativeTransition : public QObject
Q_OBJECT
Q_DECLARE_PRIVATE(QDeclarativeTransition)
- Q_PROPERTY(QString from READ fromState WRITE setFromState)
- Q_PROPERTY(QString to READ toState WRITE setToState)
- Q_PROPERTY(bool reversible READ reversible WRITE setReversible)
+ Q_PROPERTY(QString from READ fromState WRITE setFromState NOTIFY fromChanged)
+ Q_PROPERTY(QString to READ toState WRITE setToState NOTIFY toChanged)
+ Q_PROPERTY(bool reversible READ reversible WRITE setReversible NOTIFY reversibleChanged)
Q_PROPERTY(QDeclarativeListProperty<QDeclarativeAbstractAnimation> animations READ animations)
Q_CLASSINFO("DefaultProperty", "animations")
Q_CLASSINFO("DeferredPropertyNames", "animations")
@@ -90,6 +90,11 @@ public:
void setReversed(bool r);
void stop();
+
+Q_SIGNALS:
+ void fromChanged();
+ void toChanged();
+ void reversibleChanged();
};
QT_END_NAMESPACE