summaryrefslogtreecommitdiff
path: root/src/adblock
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-30 17:22:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-30 17:22:18 +0200
commit6c1e962f097e1c75a5a7b2e621c5c235bb7a1d9a (patch)
tree48544c2f72b07eef1bc0ace0e602bfda3c25538b /src/adblock
parentKrazy fixes (diff)
downloadrekonq-6c1e962f097e1c75a5a7b2e621c5c235bb7a1d9a.tar.xz
Include Fixes, first bunch
Diffstat (limited to 'src/adblock')
-rw-r--r--src/adblock/adblockmanager.h4
-rw-r--r--src/adblock/adblocknetworkreply.cpp6
-rw-r--r--src/adblock/adblocknetworkreply.h2
-rw-r--r--src/adblock/adblockrule.cpp2
-rw-r--r--src/adblock/adblockrule.h4
5 files changed, 10 insertions, 8 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index 9396e76c..eae761e0 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -110,12 +110,14 @@
// Local Includes
#include "adblockrule.h"
+// KDE Includes
+#include <KIO/Job>
+
// Qt Includes
#include <QObject>
#include <QNetworkReply>
#include <QStringList>
#include <QByteArray>
-#include <KIO/Job>
// Forward Includes
class QNetworkRequest;
diff --git a/src/adblock/adblocknetworkreply.cpp b/src/adblock/adblocknetworkreply.cpp
index e0ba3b77..13677daa 100644
--- a/src/adblock/adblocknetworkreply.cpp
+++ b/src/adblock/adblocknetworkreply.cpp
@@ -58,8 +58,10 @@
#include <klocalizedstring.h>
// Qt Includes
-#include <QNetworkRequest>
-#include <QTimer>
+#include <QtCore/QTimer>
+#include <QtCore/QString>
+
+#include <QtNetwork/QNetworkRequest>
AdBlockNetworkReply::AdBlockNetworkReply(const QNetworkRequest &request, const QString &urlString, QObject *parent)
diff --git a/src/adblock/adblocknetworkreply.h b/src/adblock/adblocknetworkreply.h
index 79204bcd..14a0672c 100644
--- a/src/adblock/adblocknetworkreply.h
+++ b/src/adblock/adblocknetworkreply.h
@@ -59,10 +59,10 @@
// Qt Includes
#include <QNetworkReply>
-#include <QString>
// Forward Declarations
class AdBlockRule;
+class QString;
class REKONQ_TESTS_EXPORT AdBlockNetworkReply : public QNetworkReply
diff --git a/src/adblock/adblockrule.cpp b/src/adblock/adblockrule.cpp
index d69f8a9c..7c91a692 100644
--- a/src/adblock/adblockrule.cpp
+++ b/src/adblock/adblockrule.cpp
@@ -57,8 +57,6 @@
// Qt Includes
#include <QStringList>
-#include <QDebug>
-#include <QRegExp>
#include <QUrl>
diff --git a/src/adblock/adblockrule.h b/src/adblock/adblockrule.h
index a241ee7d..6f042fe2 100644
--- a/src/adblock/adblockrule.h
+++ b/src/adblock/adblockrule.h
@@ -59,8 +59,8 @@
#include "rekonq_defines.h"
// Qt Includes
-#include <QRegExp>
-#include <QString>
+#include <QtCore/QRegExp>
+#include <QtCore/QString>
// Forward Includes
class QUrl;