summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine_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/qmlengine_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/qmlengine_p.h')
-rw-r--r--src/declarative/qml/qmlengine_p.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h
index c84b3b5..18e3765 100644
--- a/src/declarative/qml/qmlengine_p.h
+++ b/src/declarative/qml/qmlengine_p.h
@@ -209,10 +209,14 @@ public:
bool addToImport(Imports*, const QString& uri, const QString& prefix, int vmaj, int vmin, QmlScriptParser::Import::Type importType) const;
- bool resolveType(const Imports&, const QByteArray& type, QmlType** type_return, QUrl* url_return, ImportedNamespace** ns_return=0) const;
-
- void resolveNamespace(const Imports& imports, const QByteArray &type, ImportedNamespace **s, QByteArray *unqualifiedType) const;
- bool resolveTypeInNamespace(ImportedNamespace*, const QByteArray& type, QmlType** type_return, QUrl* url_return ) const;
+ bool resolveType(const Imports&, const QByteArray& type,
+ QmlType** type_return, QUrl* url_return,
+ ImportedNamespace** ns_return=0) const;
+ void resolveNamespace(const Imports& imports, const QByteArray &type,
+ ImportedNamespace **s,
+ QByteArray *unqualifiedType) const;
+ bool resolveTypeInNamespace(ImportedNamespace*, const QByteArray& type,
+ QmlType** type_return, QUrl* url_return ) const;
static QScriptValue qmlScriptObject(QObject*, QmlEngine*);