summaryrefslogtreecommitdiff
path: root/src/analyzer
diff options
context:
space:
mode:
authorJohannes Troscher <fritz_van_tom@hotmail.com>2011-11-27 12:18:33 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-11-27 12:18:33 +0100
commit6390d8ea58021f67257527cf98af5074656e0838 (patch)
tree2defdd7055541f41da100a81aa715bfb10ce8cc9 /src/analyzer
parentMerge branch 'bkGroupMidClick' (diff)
downloadrekonq-6390d8ea58021f67257527cf98af5074656e0838.tar.xz
Unifies macro style
REVIEW: 103242 REVIEWED-BY: adjam
Diffstat (limited to 'src/analyzer')
-rw-r--r--src/analyzer/analyzerpanel.h2
-rw-r--r--src/analyzer/networkanalyzer.cpp4
-rw-r--r--src/analyzer/networkanalyzer.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/analyzer/analyzerpanel.h b/src/analyzer/analyzerpanel.h
index bf1220e7..5dc98d15 100644
--- a/src/analyzer/analyzerpanel.h
+++ b/src/analyzer/analyzerpanel.h
@@ -52,7 +52,7 @@ class REKONQ_TESTS_EXPORT NetworkAnalyzerPanel : public QDockWidget
public:
NetworkAnalyzerPanel(const QString &title, QWidget *parent);
-public slots:
+public Q_SLOTS:
void toggle(bool enable);
void changeCurrentPage();
diff --git a/src/analyzer/networkanalyzer.cpp b/src/analyzer/networkanalyzer.cpp
index 12c048ae..0cfae040 100644
--- a/src/analyzer/networkanalyzer.cpp
+++ b/src/analyzer/networkanalyzer.cpp
@@ -166,7 +166,7 @@ void NetworkAnalyzer::requestFinished(QObject *replyObject)
// Record the reply headers
QList<QByteArray> headerValues;
- foreach(const QByteArray & header, reply->rawHeaderList())
+ Q_FOREACH(const QByteArray & header, reply->rawHeaderList())
{
headerValues += reply->rawHeader(header);
}
@@ -203,7 +203,7 @@ void NetworkAnalyzer::showItemDetails(QTreeWidgetItem *item)
QNetworkRequest req = _itemRequestMap[item];
details += i18n("<h3>Request Details</h3>");
details += QL1S("<ul>");
- foreach(const QByteArray & header, req.rawHeaderList())
+ Q_FOREACH(const QByteArray & header, req.rawHeaderList())
{
details += QL1S("<li>");
details += QL1S(header);
diff --git a/src/analyzer/networkanalyzer.h b/src/analyzer/networkanalyzer.h
index ec9d33e0..7b9e17da 100644
--- a/src/analyzer/networkanalyzer.h
+++ b/src/analyzer/networkanalyzer.h
@@ -57,7 +57,7 @@ class NetworkAnalyzer : public QWidget
public:
NetworkAnalyzer(QWidget *parent = 0);
-private slots:
+private Q_SLOTS:
void addRequest(QNetworkAccessManager::Operation op, const QNetworkRequest &req, QNetworkReply *reply);
void clear();