From ac7c15f3ed41a51b830a79ab5c78e0580e42e798 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 13 Feb 2012 22:13:05 +0100 Subject: Add adblock icon to inform users that some contents was hidden This is a patch by Andrea Di Menna, changed a bit to allow element blocked/hided listing (you'll see it in next commit) REVIEW:102761 REVIEWED-BY: adjam --- src/webpage.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/webpage.h') diff --git a/src/webpage.h b/src/webpage.h index 31f42184..abc9f64c 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -62,6 +62,16 @@ public: QString suggestedFileName(); + inline bool hasAdBlockedElements() const + { + return _hasAdBlockedElements; + }; + + inline void setHasAdBlockedElements(bool b) + { + _hasAdBlockedElements = b; + }; + bool hasSslValid() const; public Q_SLOTS: @@ -98,6 +108,7 @@ private: bool _networkAnalyzer; bool _isOnRekonqPage; + bool _hasAdBlockedElements; }; #endif -- cgit v1.2.1