summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-25 00:19:27 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-25 00:19:27 +0100
commit9d20e99fffeebe67fd8ff27cb4f9e353892f5190 (patch)
tree23462fac2e862a2f408a26f94ab024c4174c3458 /src/networkaccessmanager.cpp
parentrekonq 0.6.82 (diff)
downloadrekonq-9d20e99fffeebe67fd8ff27cb4f9e353892f5190.tar.xz
Coding style
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r--src/networkaccessmanager.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index d781f0b7..9a500cf8 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -91,7 +91,7 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat
// 1) DeleteOperation
// 2) CustomOperation
- switch(op)
+ switch (op)
{
case QNetworkAccessManager::HeadOperation:
break;
@@ -106,35 +106,35 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat
case QNetworkAccessManager::PostOperation:
break;
- // This particular issue has been solved for KDE Version 4.5.96,
- // so we can safely disable this piece of code
- #if !KDE_IS_VERSION( 4, 5, 96)
+ // This particular issue has been solved for KDE Version 4.5.96,
+ // so we can safely disable this piece of code
+#if !KDE_IS_VERSION( 4, 5, 96)
case QNetworkAccessManager::DeleteOperation:
kDebug() << "DELETE OPERATION...";
reply = QNetworkAccessManager::createRequest(op, req, outgoingData);
- if(!reply)
+ if (!reply)
kDebug() << "OOOOOOOOOOOOOOOOOOO DELETE REPLY NULL";
break;
case QNetworkAccessManager::CustomOperation:
kDebug() << "CUSTOM OPERATION...";
reply = QNetworkAccessManager::createRequest(op, req, outgoingData);
- if(!reply)
+ if (!reply)
kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL";
break;
- #endif
+#endif
default:
kDebug() << "NON EXTANT CASE...";
break;
}
- if(!reply)
+ if (!reply)
reply = AccessManager::createRequest(op, req, outgoingData);
- if(parentPage && parentPage->hasNetworkAnalyzerEnabled())
- emit networkData( op, req, reply );
+ if (parentPage && parentPage->hasNetworkAnalyzerEnabled())
+ emit networkData(op, req, reply);
return reply;
}