##// END OF EJS Templates
improved wrapper check to avoid crashes on virtual methods while python object gets deleted...
improved wrapper check to avoid crashes on virtual methods while python object gets deleted git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@245 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r10:21d959e02207
r204:7ce280c51c17
Show More
typesystem_xml-qtscript.xml
40 lines | 1.5 KiB | application/xml | XmlLexer
/ generator / typesystem_xml-qtscript.xml
<?xml version="1.0"?>
<typesystem package="com.trolltech.qt.xml">
<!-- ### value type without copy constructor -->
<rejection class="QXmlNamespaceSupport"/>
<value-type name="QDomNode">
<modify-function signature="save(QTextStream&amp;,int)const">
<modify-argument index="1">
<replace-type modified-type="QTextStream*"/>
<conversion-rule class="native">
QTextStream &amp; %out% = *qscriptvalue_cast&lt;QTextStream*&gt;(%in%);
</conversion-rule>
</modify-argument>
</modify-function>
<modify-function signature="save(QTextStream&amp;,int,QDomNode::EncodingPolicy)const">
<modify-argument index="1">
<replace-type modified-type="QTextStream*"/>
<conversion-rule class="native">
QTextStream &amp; %out% = *qscriptvalue_cast&lt;QTextStream*&gt;(%in%);
</conversion-rule>
</modify-argument>
</modify-function>
</value-type>
<object-type name="QXmlReader">
<modify-function signature="feature(QString,bool*)const">
<modify-argument index="2">
<remove-argument/>
</modify-argument>
</modify-function>
<modify-function signature="property(QString,bool*)const">
<modify-argument index="2">
<remove-argument/>
</modify-argument>
</modify-function>
</object-type>
</typesystem>