summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-25 17:09:40 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-25 17:32:08 -0300
commite1d1a0cbd174976ed5e1634d0a9633499ea67dda (patch)
tree6ae3752f7580371621f60bcd96e9bd842daf322f
parentdf834e5bb1bc29f8b7b82b828a5824be7266965c (diff)
downloadshiboken-e1d1a0cbd174976ed5e1634d0a9633499ea67dda.tar.gz
shiboken-e1d1a0cbd174976ed5e1634d0a9633499ea67dda.tar.xz
shiboken-e1d1a0cbd174976ed5e1634d0a9633499ea67dda.zip
Includded allow flags to some function on QNetworkManager.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
-rw-r--r--PySide/QtNetwork/typesystem_network.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/PySide/QtNetwork/typesystem_network.xml b/PySide/QtNetwork/typesystem_network.xml
index 80a62a4b..bfe9ad2d 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&amp;, QIODevice *)">
+ <modify-argument index="3" invalidate-after-use="yes"/>
+ </modify-function>
+ <modify-function signature="get(const QNetworkRequest&amp;)" allow-thread="yes"/>
+ <modify-function signature="post(const QNetworkRequest &amp;, QIODevice *)" allow-thread="yes"/>
+ <modify-function signature="post(const QNetworkRequest &amp;, const QByteArray &amp;)" allow-thread="yes"/>
+ <modify-function signature="put(const QNetworkRequest &amp;, QIODevice *)" allow-thread="yes"/>
+ <modify-function signature="put(const QNetworkRequest &amp;, const QByteArray &amp;)" allow-thread="yes"/>
+ <modify-function signature="sendCustomRequest(const QNetworkRequest &amp;, const QByteArray &amp;, QIODevice *)" allow-thread="yes"/>
<modify-function signature="setCookieJar(QNetworkCookieJar*)">
<modify-argument index="1">
<define-ownership class="target" owner="c++"/>