aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtGui/typesystem_gui_common.xml
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-01-10 17:52:37 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:51:45 -0300
commit67f0db5a2b6ad96d41bda2b96112bba3cba55862 (patch)
tree11188a2b05231a8ca8da8fbe69465c84fd9bd623 /PySide/QtGui/typesystem_gui_common.xml
parentf98566eebd41613236ad88b7aba676d4b081bb12 (diff)
Add polymorphic-id-expression to QGraphicsObject and QDeclarativeItem.
Diffstat (limited to 'PySide/QtGui/typesystem_gui_common.xml')
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index 676829e42..1d1ea0119 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -5584,7 +5584,7 @@
<object-type name="QGraphicsEffectSource"/>
-->
- <object-type name="QGraphicsObject"/>
+ <object-type name="QGraphicsObject" polymorphic-id-expression="qgraphicsitem_cast&lt;QGraphicsObject*>(%1)" />
<object-type name="QGraphicsOpacityEffect"/>
<object-type name="QGraphicsRotation"/>
<object-type name="QGraphicsScale"/>