summaryrefslogtreecommitdiff
path: root/src/adblock
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-30 11:59:00 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-30 11:59:00 +0200
commit2b11a757cf04ca06329a0b5d11eb6c3bae77a200 (patch)
treeff5312f6248a4261fb39dd331b7f034385015d7c /src/adblock
parentA coding style round (diff)
downloadrekonq-2b11a757cf04ca06329a0b5d11eb6c3bae77a200.tar.xz
New rekonq_defines.h
Speed up compilation & linking on Win, Lin & Mac. Step 1
Diffstat (limited to 'src/adblock')
-rw-r--r--src/adblock/adblockmanager.h4
-rw-r--r--src/adblock/adblocknetworkreply.h4
-rw-r--r--src/adblock/adblockrule.cpp4
-rw-r--r--src/adblock/adblockrule.h3
4 files changed, 8 insertions, 7 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index 20ca1b6e..9396e76c 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -104,8 +104,10 @@
// END NOTE ----------------------------------------------------------------------------------------------------------
+// Rekonq Includes
+#include "rekonq_defines.h"
+
// Local Includes
-#include "rekonqprivate_export.h"
#include "adblockrule.h"
// Qt Includes
diff --git a/src/adblock/adblocknetworkreply.h b/src/adblock/adblocknetworkreply.h
index c70ecb38..79204bcd 100644
--- a/src/adblock/adblocknetworkreply.h
+++ b/src/adblock/adblocknetworkreply.h
@@ -54,8 +54,8 @@
#define ADBLOCK_NETWORK_REPLY_H
-// Local Includes
-#include "rekonqprivate_export.h"
+// Rekonq Includes
+#include "rekonq_defines.h"
// Qt Includes
#include <QNetworkReply>
diff --git a/src/adblock/adblockrule.cpp b/src/adblock/adblockrule.cpp
index d11cc026..d69f8a9c 100644
--- a/src/adblock/adblockrule.cpp
+++ b/src/adblock/adblockrule.cpp
@@ -61,10 +61,6 @@
#include <QRegExp>
#include <QUrl>
-// Defines
-#define QL1S(x) QLatin1String(x)
-#define QL1C(x) QLatin1Char(x)
-
AdBlockRule::AdBlockRule(const QString &filter)
: m_optionMatchRule(false)
diff --git a/src/adblock/adblockrule.h b/src/adblock/adblockrule.h
index 8990630a..a241ee7d 100644
--- a/src/adblock/adblockrule.h
+++ b/src/adblock/adblockrule.h
@@ -55,6 +55,9 @@
#define ADBLOCKRULE_H
+// Rekonq Includes
+#include "rekonq_defines.h"
+
// Qt Includes
#include <QRegExp>
#include <QString>