diff options
author | Peter Hartmann <peter.hartmann@trolltech.com> | 2009-03-10 16:35:17 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@trolltech.com> | 2009-06-05 14:32:02 (GMT) |
commit | 100b55e4ddc9e4846ab877ea670473e2a9ed641e (patch) | |
tree | 237760daafc0f9bf6af1030fa8ab7f1c5c57c600 /src/network/access/qnetworkaccessmanager.h | |
parent | 1ad2cba32bc34786cdfd92ad16e3212b8830be3d (diff) | |
download | Qt-100b55e4ddc9e4846ab877ea670473e2a9ed641e.zip Qt-100b55e4ddc9e4846ab877ea670473e2a9ed641e.tar.gz Qt-100b55e4ddc9e4846ab877ea670473e2a9ed641e.tar.bz2 |
add HTTP DELETE support to Network Access API
added new method QNetworkAccessManager::deleteResource (naming the
method "delete" was not possible since it is a reserverd word in
C++) and adjusted all the internals necessary.
Task-number: 242916
Reviewed-by: Thiago
Diffstat (limited to 'src/network/access/qnetworkaccessmanager.h')
-rw-r--r-- | src/network/access/qnetworkaccessmanager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkaccessmanager.h b/src/network/access/qnetworkaccessmanager.h index 4fe218e..79f512c 100644 --- a/src/network/access/qnetworkaccessmanager.h +++ b/src/network/access/qnetworkaccessmanager.h @@ -74,6 +74,7 @@ public: GetOperation, PutOperation, PostOperation, + DeleteOperation, UnknownOperation = 0 }; @@ -100,6 +101,7 @@ public: QNetworkReply *post(const QNetworkRequest &request, const QByteArray &data); QNetworkReply *put(const QNetworkRequest &request, QIODevice *data); QNetworkReply *put(const QNetworkRequest &request, const QByteArray &data); + QNetworkReply *deleteResource(const QNetworkRequest &request); Q_SIGNALS: #ifndef QT_NO_NETWORKPROXY |