diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-11-09 13:59:05 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-11-09 15:59:08 -0300 |
commit | 90bdf74053b18d92df0eed142fef39ce8a15d6b4 (patch) | |
tree | 9d9309281752528090f3f8018a53511f1840b1d2 /PySide/QtDeclarative | |
parent | 729d68b703a4b8998f5b796e2da1a4e9b113468e (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.xml | 4 |
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< QList<QObject*> >("QList<QObject*>"); + </inject-code> + <object-type name="QDeclarativeExtensionInterface"/> <object-type name="QDeclarativeComponent"> <enum-type name="Status"/> |