##// END OF EJS Templates
added new tests to validate enums return values, enums passed in slots and enums in signals (enums in signals is not yet implemented and fails)...
added new tests to validate enums return values, enums passed in slots and enums in signals (enums in signals is not yet implemented and fails) git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@86 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r10:21d959e02207
r50:ef758f9ae3a7
Show More
typesystem_network-qtscript.xml
51 lines | 1.5 KiB | application/xml | XmlLexer
/ generator / typesystem_network-qtscript.xml
<?xml version="1.0"?>
<typesystem package="com.trolltech.qt.network">
<object-type name="QHttpHeader">
<modify-function signature="QHttpHeader(QHttpHeader)" remove="all"/>
</object-type>
<value-type name="QNetworkCookie">
<extra-includes>
<include file-name="QDateTime" location="global"/>
</extra-includes>
</value-type>
<value-type name="QSslCertificate">
<extra-includes>
<include file-name="QDateTime" location="global"/>
</extra-includes>
</value-type>
<value-type name="QHostInfo">
<modify-function signature="lookupHost(QString,QObject*,const char*)">
<modify-argument index="3">
<replace-type modified-type="QString"/>
<conversion-rule class="native">
<insert-template name="core.convert_string_arg_to_char*"/>
</conversion-rule>
</modify-argument>
</modify-function>
</value-type>
<object-type name="QUdpSocket">
<modify-function signature="writeDatagram(const char*,qint64,QHostAddress,unsigned short)" remove="all"/>
</object-type>
<object-type name="QTcpServer">
<modify-function signature="waitForNewConnection(int,bool*)">
<modify-argument index="2">
<remove-argument/>
</modify-argument>
</modify-function>
</object-type>
<object-type name="QLocalServer">
<modify-function signature="waitForNewConnection(int,bool*)">
<modify-argument index="2">
<remove-argument/>
</modify-argument>
</modify-function>
</object-type>
</typesystem>