summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-08-25 03:46:34 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-08-25 03:46:34 (GMT)
commit15e37128223c9438be9372c35fac5981a440c94b (patch)
treee1701210a223b082a312248ce8b8bbd667b778b3 /src/declarative/qml/qmlcompiler_p.h
parentf69d8805291ee46856b21d9091693cdc139765b8 (diff)
downloadQt-15e37128223c9438be9372c35fac5981a440c94b.zip
Qt-15e37128223c9438be9372c35fac5981a440c94b.tar.gz
Qt-15e37128223c9438be9372c35fac5981a440c94b.tar.bz2
Add support for prefixed attached properties at compile time
To reduce possible confusion, an id used within a component may not conflict with namespace prefixes.
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r--src/declarative/qml/qmlcompiler_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h
index 58279c4..c42c2d9 100644
--- a/src/declarative/qml/qmlcompiler_p.h
+++ b/src/declarative/qml/qmlcompiler_p.h
@@ -60,6 +60,7 @@
#include <private/qmlinstruction_p.h>
#include <private/qmlcompositetypemanager_p.h>
#include <private/qmlparser_p.h>
+#include <private/qmlengine_p.h>
QT_BEGIN_NAMESPACE
@@ -165,6 +166,10 @@ private:
const BindingContext &);
bool buildProperty(QmlParser::Property *prop, QmlParser::Object *obj,
const BindingContext &);
+ bool buildPropertyInNamespace(QmlEnginePrivate::ImportedNamespace *ns,
+ QmlParser::Property *prop,
+ QmlParser::Object *obj,
+ const BindingContext &);
bool buildIdProperty(QmlParser::Property *prop, QmlParser::Object *obj);
bool buildAttachedProperty(QmlParser::Property *prop,
QmlParser::Object *obj,