diff options
Diffstat (limited to 'src/analyzer')
-rw-r--r-- | src/analyzer/analyzerpanel.h | 2 | ||||
-rw-r--r-- | src/analyzer/networkanalyzer.cpp | 4 | ||||
-rw-r--r-- | src/analyzer/networkanalyzer.h | 2 |
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(); |