diff options
Diffstat (limited to 'generator/typesystem_network-qtscript.xml')
-rw-r--r-- | generator/typesystem_network-qtscript.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/generator/typesystem_network-qtscript.xml b/generator/typesystem_network-qtscript.xml new file mode 100644 index 0000000..2735729 --- /dev/null +++ b/generator/typesystem_network-qtscript.xml @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<typesystem package="com.trolltech.qt.network"> + + <!-- ### fixme --> + <rejection class="QSsl"/> + <rejection class="QHttpHeader"/> + + <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> |