summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-30 19:41:31 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-30 19:41:31 +0200
commitd440c6ed2c4e8a948dc0c4892b2b3683a3e599a8 (patch)
tree5ceb91db6e033bcfe4d7e4aed493126e341fd924 /src/networkaccessmanager.cpp
parentrekonq 0.5.83 (diff)
downloadrekonq-d440c6ed2c4e8a948dc0c4892b2b3683a3e599a8.tar.xz
Missing operations
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r--src/networkaccessmanager.cpp31
1 files changed, 29 insertions, 2 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index 4aa2488a..9d9d052d 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -88,10 +88,37 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat
break;
}
-
- if (op == QNetworkAccessManager::GetOperation)
+ switch(op)
{
+ case QNetworkAccessManager::HeadOperation:
+ break;
+
+ case QNetworkAccessManager::GetOperation:
reply = Application::adblockManager()->block(req, parentPage);
+ break;
+
+ case QNetworkAccessManager::PutOperation:
+ break;
+
+ case QNetworkAccessManager::PostOperation:
+ break;
+
+ case QNetworkAccessManager::DeleteOperation:
+ break;
+
+ case QNetworkAccessManager::CustomOperation:
+/* {
+ kDebug() << "CUSTOM OPERATION...";
+ QByteArray verb("*");
+ reply = sendCustomRequest(req, verb, outgoingData);
+ }
+ if(!reply)
+ kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL";*/
+ break;
+
+ default:
+ kDebug() << "NON EXTANT CASE...";
+ break;
}
if(!reply)