diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-01-10 17:52:37 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:51:45 -0300 |
commit | 67f0db5a2b6ad96d41bda2b96112bba3cba55862 (patch) | |
tree | 11188a2b05231a8ca8da8fbe69465c84fd9bd623 /PySide/QtDeclarative | |
parent | f98566eebd41613236ad88b7aba676d4b081bb12 (diff) |
Add polymorphic-id-expression to QGraphicsObject and QDeclarativeItem.
Diffstat (limited to 'PySide/QtDeclarative')
-rw-r--r-- | PySide/QtDeclarative/typesystem_declarative.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml index 5649bf294..e7540062a 100644 --- a/PySide/QtDeclarative/typesystem_declarative.xml +++ b/PySide/QtDeclarative/typesystem_declarative.xml @@ -97,7 +97,7 @@ <object-type name="QDeclarativeImageProvider"> <enum-type name="ImageType" /> </object-type> - <object-type name="QDeclarativeItem"> + <object-type name="QDeclarativeItem" polymorphic-id-expression="qgraphicsitem_cast<QDeclarativeItem*>(%1)"> <extra-includes> <include file-name="pysideqmlregistertype.h" location="local"/> </extra-includes> |