summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-19 11:00:18 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-03-19 11:00:18 +0100
commitf51c660a207364b9b5ff400a29e8ff1dba721e61 (patch)
tree09331e790bc3e79d4826d7463617d7d65e158ef5 /src/adblock/adblockmanager.h
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-f51c660a207364b9b5ff400a29e8ff1dba721e61.tar.xz
abp (Ad Block Plus) fake protocol support
This will let rekonq to automatically add abp subscriptions from the adblockplus.org site (or wherever someone provides abp urls) Anyway, consider that the raccomended way to manage adblock (by me and by abp developers) is just adding the EasyList subscription. rekonq just does it by default!!
Diffstat (limited to 'src/adblock/adblockmanager.h')
-rw-r--r--src/adblock/adblockmanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/adblock/adblockmanager.h b/src/adblock/adblockmanager.h
index aac78e3b..c0bd2b70 100644
--- a/src/adblock/adblockmanager.h
+++ b/src/adblock/adblockmanager.h
@@ -133,9 +133,10 @@ public:
QNetworkReply *block(const QNetworkRequest &request);
void applyHidingRules(WebPage *page);
-
+ void addSubscription(const QString &title, const QString &location);
+
public slots:
- void loadSettings();
+ void loadSettings(bool checkUpdateDate = true);
private:
void updateNextSubscription();