summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext_p.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2009-04-29 13:05:56 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-05-05 09:51:11 (GMT)
commit4416bb70d751ff31818823f79d3d7ed3a3d94929 (patch)
treee4439a2afca26a443ee40136502bc7265cc23046 /src/declarative/qml/qmlcontext_p.h
parenta189a500173ed038e777902ac0a77f837a330c26 (diff)
downloadQt-4416bb70d751ff31818823f79d3d7ed3a3d94929.zip
Qt-4416bb70d751ff31818823f79d3d7ed3a3d94929.tar.gz
Qt-4416bb70d751ff31818823f79d3d7ed3a3d94929.tar.bz2
Removed dependency of QmlContext to QmlCompiledComponent
Store component url directly in context, instead of referencing the associated QmlCompiledComponent. In addition, allow to explicitly set the base url to a context. This is needed for Bauhaus.
Diffstat (limited to 'src/declarative/qml/qmlcontext_p.h')
-rw-r--r--src/declarative/qml/qmlcontext_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlcontext_p.h b/src/declarative/qml/qmlcontext_p.h
index 3772885..40848fb 100644
--- a/src/declarative/qml/qmlcontext_p.h
+++ b/src/declarative/qml/qmlcontext_p.h
@@ -69,7 +69,8 @@ public:
QScriptValueList scopeChain;
- QmlCompiledComponent *component;
+ QUrl url;
+
void init();
void dump();