diff options
Diffstat (limited to 'generator/typesystem_network.xml')
-rw-r--r-- | generator/typesystem_network.xml | 99 |
1 files changed, 60 insertions, 39 deletions
diff --git a/generator/typesystem_network.xml b/generator/typesystem_network.xml index 58973c7..ef4a961 100644 --- a/generator/typesystem_network.xml +++ b/generator/typesystem_network.xml @@ -1,13 +1,16 @@ <?xml version="1.0"?> -<typesystem package="com.trolltech.qt.network"> +<typesystem package="com.trolltech.qt.network"><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"/> <namespace-type name="QSsl"> <include file-name="qssl.h" location="global"/> </namespace-type> - + + <enum-type name="QNetworkProxy::Capability" flags="QNetworkProxy::Capabilities"/> <enum-type name="QAbstractSocket::NetworkLayerProtocol"/> + <enum-type name="QNetworkProxyQuery::QueryType"/> <enum-type name="QAbstractSocket::SocketError"/> <enum-type name="QAbstractSocket::SocketState"/> <enum-type name="QAbstractSocket::SocketType"/> + <enum-type name="QAbstractSocket::SocketOption"/> <enum-type name="QFtp::Command"/> <enum-type name="QFtp::Error"/> <enum-type name="QFtp::State"/> @@ -18,12 +21,10 @@ <enum-type name="QHttp::State"/> <enum-type name="QHttp::ConnectionMode"/> <enum-type name="QNetworkInterface::InterfaceFlag" flags="QNetworkInterface::InterfaceFlags"/> - <enum-type name="QNetworkProxy::Capability" flags="QNetworkProxy::Capabilities"/> <enum-type name="QNetworkProxy::ProxyType"/> - <enum-type name="QNetworkProxyQuery::QueryType"/> <enum-type name="QUdpSocket::BindFlag" flags="QUdpSocket::BindMode"/> <enum-type name="QUrlInfo::PermissionSpec"/> - <enum-type name="QHostInfo::HostInfoError"/> + <enum-type name="QHostInfo::HostInfoError"/> <enum-type name="QSsl::KeyType"/> <enum-type name="QSsl::EncodingFormat"/> <enum-type name="QSsl::KeyAlgorithm"/> @@ -38,8 +39,31 @@ <enum-type name="QNetworkRequest::CacheLoadControl"/> <enum-type name="QNetworkRequest::KnownHeaders"/> - <object-type name="QAbstractNetworkCache"> + <object-type name="QAbstractNetworkCache"/> + <object-type name="QNetworkDiskCache"> + <modify-function signature="insert(QIODevice*)"> + <modify-argument index="1"> + <reference-count action="ignore"/> <!-- function only has effect on devices retrieved using prepare() --> + </modify-argument> + </modify-function> + </object-type> + <value-type name="QNetworkCacheMetaData"> + <modify-function signature="operator=(QNetworkCacheMetaData)" remove="all"/> + <extra-includes> + <include file-name="QDateTime" location="global"/> + </extra-includes> + </value-type> + + <object-type name="QNetworkProxyFactory"> + <modify-function signature="setApplicationProxyFactory(QNetworkProxyFactory*)"> + <modify-argument index="1"> + <define-ownership class="java" owner="c++"/> + </modify-argument> + </modify-function> </object-type> + <value-type name="QNetworkProxyQuery"> + <modify-function signature="operator=(QNetworkProxyQuery)" remove="all"/> + </value-type> <object-type name="QAbstractSocket"/> <object-type name="QFtp"/> @@ -54,11 +78,11 @@ </modify-argument> </modify-function> </object-type> - <object-type name="QTcpSocket"/> + <object-type name="QTcpSocket"/> <object-type name="QUdpSocket"> <modify-function signature="writeDatagram(const char*,qint64,QHostAddress,unsigned short)" remove="all"/> </object-type> - + <object-type name="QHttpHeader"> <modify-function signature="operator=(QHttpHeader)" remove="all"/> @@ -78,6 +102,16 @@ <define-ownership class="java" owner="c++"/> </modify-argument> </modify-function> + <modify-function signature="setCache(QAbstractNetworkCache*)"> + <modify-argument index="1"> + <reference-count action="ignore"/> + </modify-argument> + </modify-function> + <modify-function signature="setProxyFactory(QNetworkProxyFactory*)"> + <modify-argument index="1"> + <define-ownership class="java" owner="c++"/> + </modify-argument> + </modify-function> </object-type> <object-type name="QNetworkCookieJar"/> <object-type name="QNetworkReply"/> @@ -87,11 +121,11 @@ <modify-function signature="setAddress(unsigned char*)" remove="all"/> <modify-function signature="operator=(QString)" remove="all"/> <modify-function signature="operator=(QHostAddress)" remove="all"/> - </value-type> + </value-type> <value-type name="QHostInfo"> <modify-function signature="operator=(QHostInfo)" remove="all"/> - <modify-function signature="lookupHost(QString,QObject*,const char*)" access="private"/> + <modify-function signature="lookupHost(QString,QObject*,const char*)" access="private"/> <modify-function signature="lookupHost(QString,QObject*,const char*)"> <modify-argument index="3"> @@ -114,29 +148,15 @@ <value-type name="QNetworkAddressEntry"> <modify-function signature="operator=(QNetworkAddressEntry)" remove="all"/> </value-type> - - <value-type name="QNetworkCacheMetaData"> - <modify-function signature="operator=(QNetworkCacheMetaData)" remove="all"/> - <extra-includes> - <include file-name="QDateTime" location="global"/> - </extra-includes> - </value-type> <value-type name="QNetworkInterface"> <modify-function signature="operator=(QNetworkInterface)" remove="all"/> </value-type> - + <value-type name="QNetworkProxy"> <modify-function signature="operator=(QNetworkProxy)" remove="all"/> </value-type> - <object-type name="QNetworkProxyFactory"> - </object-type> - - <value-type name="QNetworkProxyQuery"> - <modify-function signature="operator=(QNetworkProxyQuery)" remove="all"/> - </value-type> - <value-type name="QUrlInfo"> <modify-function signature="operator=(QUrlInfo)" remove="all"/> </value-type> @@ -147,9 +167,9 @@ </modify-function> <modify-function signature="operator[](int)"> <remove/> - </modify-function> + </modify-function> </value-type> - + <value-type name="QAuthenticator"> <modify-function signature="operator=(QAuthenticator)" remove="all"/> </value-type> @@ -180,17 +200,18 @@ <value-type name="QSslConfiguration"/> <object-type name="QSslSocket"/> - + <suppress-warning text="*unmatched parameter type 'sockaddr const*"/> - <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"/> - + + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUrlInfo' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkCacheMetaData' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkProxyQuery' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkAddressEntry' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkCookie' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkProxy' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkRequest' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QAuthenticator' has equals operators but no qHash() function. Hashcode of objects will consistently be 0."/> + <!-- For people building without SSL support --> <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.network.QSslSocket' for enum 'SslMode' is not declared"/> <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QSslError' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> @@ -202,6 +223,6 @@ <suppress-warning text="WARNING(MetaJavaBuilder) :: namespace 'com.trolltech.qt.network.QSslCertificate' for enum 'SubjectInfo' is not declared"/> <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QSslConfiguration' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> <suppress-warning text="WARNING(MetaJavaBuilder) :: type 'QSslSocket' is specified in typesystem, but not defined. This could potentially lead to compilation errors."/> - <!-- --> - + <!-- --> + </typesystem> |