summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativetransition_p.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-23 04:53:02 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-23 04:53:02 (GMT)
commitccf9a964f55ce6b7404f2b2fbd9345697d37bea3 (patch)
treea5e264ab62fce2664f079ee8fd28e55e85db9218 /src/declarative/util/qdeclarativetransition_p.h
parent95aa8c8fc76e2309a629b05994a2677b0887140b (diff)
parentceebd7298e8d2325956e297c46a965d68c56b02f (diff)
downloadQt-ccf9a964f55ce6b7404f2b2fbd9345697d37bea3.zip
Qt-ccf9a964f55ce6b7404f2b2fbd9345697d37bea3.tar.gz
Qt-ccf9a964f55ce6b7404f2b2fbd9345697d37bea3.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
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 861111a..2f9e7b5 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