summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlvme.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-06-10 05:52:25 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-06-10 05:52:25 (GMT)
commitbf750d1df7e1474ffddc547205f7f20520559ea7 (patch)
treecebde1834efd136e82e124b27e21cab42aabb01f /src/declarative/qml/qmlvme.cpp
parent4f40fa9b92f6f31f5a6d584f8890e2331b68f3bc (diff)
parent4dc4cfac667389efda4a43df5ff8cfa4ba305a2f (diff)
downloadQt-bf750d1df7e1474ffddc547205f7f20520559ea7.zip
Qt-bf750d1df7e1474ffddc547205f7f20520559ea7.tar.gz
Qt-bf750d1df7e1474ffddc547205f7f20520559ea7.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Conflicts: src/declarative/qml/qmlvme.cpp
Diffstat (limited to 'src/declarative/qml/qmlvme.cpp')
-rw-r--r--src/declarative/qml/qmlvme.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlvme.cpp b/src/declarative/qml/qmlvme.cpp
index 28b880c..cdc6a66 100644
--- a/src/declarative/qml/qmlvme.cpp
+++ b/src/declarative/qml/qmlvme.cpp
@@ -235,6 +235,17 @@ QObject *QmlVME::run(QmlContext *ctxt, QmlCompiledComponent *comp, int start, in
}
break;
+ case QmlInstruction::StoreUrl:
+ {
+ QObject *target = stack.top();
+ void *a[1];
+ QUrl u(primitives.at(instr.storeUrl.value));
+ a[0] = (void *)&u;
+ QMetaObject::metacall(target, QMetaObject::WriteProperty,
+ instr.storeUrl.propertyIndex, a);
+ }
+ break;
+
case QmlInstruction::StoreFloat:
{
QObject *target = stack.top();
@@ -246,7 +257,7 @@ QObject *QmlVME::run(QmlContext *ctxt, QmlCompiledComponent *comp, int start, in
}
break;
-case QmlInstruction::StoreDouble:
+ case QmlInstruction::StoreDouble:
{
QObject *target = stack.top();
double d = instr.storeDouble.value;