diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-11-18 23:59:28 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-11-18 23:59:28 (GMT) |
commit | bb8c3d4f8f064bf53b22d85f875c8adffc2591c0 (patch) | |
tree | 8bda2cde10de4e62a827c4f4c39b159e4d63de86 /src/declarative/util/qmlbind_p.h | |
parent | 0379a7763311ce20fe077c508e15ac5249edd35f (diff) | |
download | Qt-bb8c3d4f8f064bf53b22d85f875c8adffc2591c0.zip Qt-bb8c3d4f8f064bf53b22d85f875c8adffc2591c0.tar.gz Qt-bb8c3d4f8f064bf53b22d85f875c8adffc2591c0.tar.bz2 |
'when' property has to be before 'value' property in Binding element
Task-number: QTBUG-5477
Diffstat (limited to 'src/declarative/util/qmlbind_p.h')
-rw-r--r-- | src/declarative/util/qmlbind_p.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/declarative/util/qmlbind_p.h b/src/declarative/util/qmlbind_p.h index a9b7b98..4d85698 100644 --- a/src/declarative/util/qmlbind_p.h +++ b/src/declarative/util/qmlbind_p.h @@ -52,11 +52,11 @@ QT_BEGIN_NAMESPACE QT_MODULE(Declarative) class QmlBindPrivate; -class Q_DECLARATIVE_EXPORT QmlBind : public QObject +class Q_DECLARATIVE_EXPORT QmlBind : public QObject, public QmlParserStatus { Q_OBJECT Q_DECLARE_PRIVATE(QmlBind) - + Q_INTERFACES(QmlParserStatus) Q_PROPERTY(QObject *target READ object WRITE setObject) Q_PROPERTY(QString property READ property WRITE setProperty) Q_PROPERTY(QVariant value READ value WRITE setValue) @@ -78,6 +78,9 @@ public: QVariant value() const; void setValue(const QVariant &); +protected: + virtual void componentComplete(); + private: void eval(); }; |