aboutsummaryrefslogtreecommitdiffstats
path: root/generator/typesystem_network-qtscript.xml
blob: a184dd5c849f07a1da472a973d6339b95ecc0ded (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?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>

  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUrlInfo' has equals operators but no qHash() function" />
  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QAuthenticator' has equals operators but no qHash() function" />

  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSslKey' has equals operators but no qHash() function"/>
  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSslError' has equals operators but no qHash() function"/>
  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSslCertificate' has equals operators but no qHash() function"/>
  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSslCipher' has equals operators but no qHash() function"/>
  <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSslConfiguration' has equals operators but no qHash() function"/>

</typesystem>