![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
#include <adblockrule.h>
Public Member Functions | |
| AdBlockRule (const QString &filter=QString(), AdBlockSubscription *subscription=nullptr) | |
| ~AdBlockRule () | |
| AdBlockRule * | copy () const |
| AdBlockSubscription * | subscription () const |
| void | setSubscription (AdBlockSubscription *subscription) |
| QString | filter () const |
| void | setFilter (const QString &filter) |
| bool | isCssRule () const |
| QString | cssSelector () const |
| bool | isUnsupportedRule () const |
| bool | isDocument () const |
| bool | isElemhide () const |
| bool | isGenerichide () const |
| bool | isDomainRestricted () const |
| bool | isException () const |
| bool | isComment () const |
| bool | isEnabled () const |
| void | setEnabled (bool enabled) |
| bool | isSlow () const |
| bool | isInternalDisabled () const |
| bool | urlMatch (const QUrl &url) const |
| bool | networkMatch (const QWebEngineUrlRequestInfo &request, const QString &domain, const QString &encodedUrl) const |
| bool | matchDomain (const QString &domain) const |
| bool | matchThirdParty (const QWebEngineUrlRequestInfo &request) const |
| bool | matchType (const QWebEngineUrlRequestInfo &request) const |
Protected Member Functions | |
| bool | stringMatch (const QString &domain, const QString &encodedUrl) const |
| bool | isMatchingDomain (const QString &domain, const QString &filter) const |
| bool | isMatchingRegExpStrings (const QString &url) const |
| QStringList | parseRegExpFilter (const QString &filter) const |
Friends | |
| class | AdBlockMatcher |
| class | AdBlockSearchTree |
| class | AdBlockSubscription |
Definition at line 61 of file adblockrule.h.
| AdBlockRule::AdBlockRule | ( | const QString & | filter = QString(), |
| AdBlockSubscription * | subscription = nullptr |
||
| ) |
Definition at line 104 of file adblockrule.cpp.
| AdBlockRule::~AdBlockRule | ( | ) |
Definition at line 116 of file adblockrule.cpp.
| AdBlockRule * AdBlockRule::copy | ( | ) | const |
Definition at line 121 of file adblockrule.cpp.
| QString AdBlockRule::cssSelector | ( | ) | const |
Definition at line 172 of file adblockrule.cpp.
| QString AdBlockRule::filter | ( | ) | const |
Definition at line 156 of file adblockrule.cpp.
| bool AdBlockRule::isComment | ( | ) | const |
Definition at line 207 of file adblockrule.cpp.
| bool AdBlockRule::isCssRule | ( | ) | const |
Definition at line 167 of file adblockrule.cpp.
| bool AdBlockRule::isDocument | ( | ) | const |
Definition at line 182 of file adblockrule.cpp.
| bool AdBlockRule::isDomainRestricted | ( | ) | const |
Definition at line 197 of file adblockrule.cpp.
| bool AdBlockRule::isElemhide | ( | ) | const |
Definition at line 187 of file adblockrule.cpp.
| bool AdBlockRule::isEnabled | ( | ) | const |
Definition at line 212 of file adblockrule.cpp.
| bool AdBlockRule::isException | ( | ) | const |
Definition at line 202 of file adblockrule.cpp.
| bool AdBlockRule::isGenerichide | ( | ) | const |
Definition at line 192 of file adblockrule.cpp.
| bool AdBlockRule::isInternalDisabled | ( | ) | const |
Definition at line 227 of file adblockrule.cpp.
|
protected |
Definition at line 784 of file adblockrule.cpp.
|
protected |
Definition at line 789 of file adblockrule.cpp.
| bool AdBlockRule::isSlow | ( | ) | const |
Definition at line 222 of file adblockrule.cpp.
| bool AdBlockRule::isUnsupportedRule | ( | ) | const |
Definition at line 177 of file adblockrule.cpp.
| bool AdBlockRule::matchDomain | ( | const QString & | domain | ) | const |
Definition at line 271 of file adblockrule.cpp.
| bool AdBlockRule::matchThirdParty | ( | const QWebEngineUrlRequestInfo & | request | ) | const |
Definition at line 313 of file adblockrule.cpp.
| bool AdBlockRule::matchType | ( | const QWebEngineUrlRequestInfo & | request | ) | const |
Definition at line 324 of file adblockrule.cpp.
| bool AdBlockRule::networkMatch | ( | const QWebEngineUrlRequestInfo & | request, |
| const QString & | domain, | ||
| const QString & | encodedUrl | ||
| ) | const |
Definition at line 244 of file adblockrule.cpp.
|
protected |
Definition at line 804 of file adblockrule.cpp.
| void AdBlockRule::setEnabled | ( | bool | enabled | ) |
Definition at line 217 of file adblockrule.cpp.
| void AdBlockRule::setFilter | ( | const QString & | filter | ) |
Definition at line 161 of file adblockrule.cpp.
| void AdBlockRule::setSubscription | ( | AdBlockSubscription * | subscription | ) |
Definition at line 151 of file adblockrule.cpp.
|
protected |
Definition at line 758 of file adblockrule.cpp.
| AdBlockSubscription * AdBlockRule::subscription | ( | ) | const |
Definition at line 146 of file adblockrule.cpp.
| bool AdBlockRule::urlMatch | ( | const QUrl & | url | ) | const |
Definition at line 232 of file adblockrule.cpp.
|
friend |
Definition at line 203 of file adblockrule.h.
|
friend |
Definition at line 204 of file adblockrule.h.
|
friend |
Definition at line 205 of file adblockrule.h.