aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtDeclarative
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-11-09 13:59:05 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-11-09 15:59:08 -0300
commit90bdf74053b18d92df0eed142fef39ce8a15d6b4 (patch)
tree9d9309281752528090f3f8018a53511f1840b1d2 /PySide/QtDeclarative
parent729d68b703a4b8998f5b796e2da1a4e9b113468e (diff)
Fixed QVariant conversion to C++
Now before convert from python object to C++, PySide check for a existent of metaType for any derived class. Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtDeclarative')
-rw-r--r--PySide/QtDeclarative/typesystem_declarative.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml
index ee7355cc5..0b78ca8a3 100644
--- a/PySide/QtDeclarative/typesystem_declarative.xml
+++ b/PySide/QtDeclarative/typesystem_declarative.xml
@@ -29,6 +29,10 @@
</extra-includes>
</enum-type>
+ <inject-code>
+ Shiboken::TypeResolver::createValueTypeResolver&lt; QList&lt;QObject*&gt; &gt;("QList&lt;QObject*&gt;");
+ </inject-code>
+
<object-type name="QDeclarativeExtensionInterface"/>
<object-type name="QDeclarativeComponent">
<enum-type name="Status"/>