diff options
author | Marco Bubke <marco.bubke@nokia.com> | 2010-04-07 21:03:53 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2010-04-08 20:45:29 +0200 |
commit | 299f2be2f4922101300de5f35c9913fad7546c92 (patch) | |
tree | 40d972750556acedd752c2edfc08623b81670856 /src/plugins/qmldesigner/core/instances/dummynodeinstance.h | |
parent | bbaf3b18e7456b3b3007f92ef7469802ac372d04 (diff) | |
download | qt-creator-299f2be2f4922101300de5f35c9913fad7546c92.tar.gz |
Let the designer start nodes which have invalid meta info
This is only a workaround!
Diffstat (limited to 'src/plugins/qmldesigner/core/instances/dummynodeinstance.h')
-rw-r--r-- | src/plugins/qmldesigner/core/instances/dummynodeinstance.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmldesigner/core/instances/dummynodeinstance.h b/src/plugins/qmldesigner/core/instances/dummynodeinstance.h index 4f5ea3a8ee..a6087457e6 100644 --- a/src/plugins/qmldesigner/core/instances/dummynodeinstance.h +++ b/src/plugins/qmldesigner/core/instances/dummynodeinstance.h @@ -43,7 +43,7 @@ public: typedef QSharedPointer<DummyNodeInstance> Pointer; typedef QWeakPointer<DummyNodeInstance> WeakPointer; - static Pointer create(const NodeMetaInfo &metaInfo, QDeclarativeContext *context); + static Pointer create(); void paint(QPainter *painter) const; @@ -56,12 +56,12 @@ public: double opacity() const; void setPropertyVariant(const QString &name, const QVariant &value); + void setBindingProperty(const QString &name, const QString &expression); QVariant property(const QString &name) const; QStringList properties(); QStringList localProperties(); - bool isVisible() const; - void setVisible(bool isVisible); + void initializePropertyWatcher(const ObjectNodeInstance::Pointer &objectNodeInstance); protected: DummyNodeInstance(); |