Add polymorphic-id-expression to QGraphicsObject and QDeclarativeItem.
This commit is contained in:
parent
f98566eebd
commit
67f0db5a2b
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@
|
||||||
<object-type name="QDeclarativeImageProvider">
|
<object-type name="QDeclarativeImageProvider">
|
||||||
<enum-type name="ImageType" />
|
<enum-type name="ImageType" />
|
||||||
</object-type>
|
</object-type>
|
||||||
<object-type name="QDeclarativeItem">
|
<object-type name="QDeclarativeItem" polymorphic-id-expression="qgraphicsitem_cast<QDeclarativeItem*>(%1)">
|
||||||
<extra-includes>
|
<extra-includes>
|
||||||
<include file-name="pysideqmlregistertype.h" location="local"/>
|
<include file-name="pysideqmlregistertype.h" location="local"/>
|
||||||
</extra-includes>
|
</extra-includes>
|
||||||
|
|
|
||||||
|
|
@ -5584,7 +5584,7 @@
|
||||||
<object-type name="QGraphicsEffectSource"/>
|
<object-type name="QGraphicsEffectSource"/>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<object-type name="QGraphicsObject"/>
|
<object-type name="QGraphicsObject" polymorphic-id-expression="qgraphicsitem_cast<QGraphicsObject*>(%1)" />
|
||||||
<object-type name="QGraphicsOpacityEffect"/>
|
<object-type name="QGraphicsOpacityEffect"/>
|
||||||
<object-type name="QGraphicsRotation"/>
|
<object-type name="QGraphicsRotation"/>
|
||||||
<object-type name="QGraphicsScale"/>
|
<object-type name="QGraphicsScale"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue