diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-25 17:09:40 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-25 17:32:08 -0300 |
commit | e1d1a0cbd174976ed5e1634d0a9633499ea67dda (patch) | |
tree | 6ae3752f7580371621f60bcd96e9bd842daf322f /PySide/QtNetwork | |
parent | df834e5bb1bc29f8b7b82b828a5824be7266965c (diff) |
Includded allow flags to some function on QNetworkManager.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide/QtNetwork')
-rw-r--r-- | PySide/QtNetwork/typesystem_network.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/PySide/QtNetwork/typesystem_network.xml b/PySide/QtNetwork/typesystem_network.xml index 80a62a4bc..bfe9ad2d2 100644 --- a/PySide/QtNetwork/typesystem_network.xml +++ b/PySide/QtNetwork/typesystem_network.xml @@ -173,6 +173,15 @@ </object-type> <object-type name="QLocalSocket"/> <object-type name="QNetworkAccessManager"> + <modify-function signature="createRequest(QNetworkAccessManager::Operation, const QNetworkRequest&, QIODevice *)"> + <modify-argument index="3" invalidate-after-use="yes"/> + </modify-function> + <modify-function signature="get(const QNetworkRequest&)" allow-thread="yes"/> + <modify-function signature="post(const QNetworkRequest &, QIODevice *)" allow-thread="yes"/> + <modify-function signature="post(const QNetworkRequest &, const QByteArray &)" allow-thread="yes"/> + <modify-function signature="put(const QNetworkRequest &, QIODevice *)" allow-thread="yes"/> + <modify-function signature="put(const QNetworkRequest &, const QByteArray &)" allow-thread="yes"/> + <modify-function signature="sendCustomRequest(const QNetworkRequest &, const QByteArray &, QIODevice *)" allow-thread="yes"/> <modify-function signature="setCookieJar(QNetworkCookieJar*)"> <modify-argument index="1"> <define-ownership class="target" owner="c++"/> |