summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-13 22:48:51 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-03-13 10:24:42 +0100
commit908a1dbfb08c30ae2a92ce7f6e36a9e88e8b5d09 (patch)
treec9bcf7d01b3553ad934bea9e1279a02e409accfb /src/adblock/adblockmanager.h
parentAdd adblock icon to inform users that some contents was hidden (diff)
downloadrekonq-908a1dbfb08c30ae2a92ce7f6e36a9e88e8b5d09.tar.xz
Let rekonq block sparse images (this idea has been copied from Arora)
Diffstat (limited to 'src/adblock/adblockmanager.h')
-rw-r--r--src/adblock/adblockmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index f853a8ed..2e7f7836 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -154,9 +154,13 @@ public:
AdBlockManager(QObject *parent = 0);
~AdBlockManager();
+ bool isEnabled();
+
QNetworkReply *block(const QNetworkRequest &request, WebPage *page);
void applyHidingRules(WebPage *page);
+ void addCustomRule(const QString &);
+
public Q_SLOTS:
void loadSettings();
void showSettings();