summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlbind_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-18 23:59:28 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-18 23:59:28 (GMT)
commitbb8c3d4f8f064bf53b22d85f875c8adffc2591c0 (patch)
tree8bda2cde10de4e62a827c4f4c39b159e4d63de86 /src/declarative/util/qmlbind_p.h
parent0379a7763311ce20fe077c508e15ac5249edd35f (diff)
downloadQt-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.h7
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();
};