Falkon Develop
Cross-platform Qt-based web browser
AdBlockMatcher Class Reference

#include <adblockmatcher.h>

Inheritance diagram for AdBlockMatcher:

Public Slots

void update ()
 
void clear ()
 

Public Member Functions

 AdBlockMatcher (AdBlockManager *manager)
 
 ~AdBlockMatcher ()
 
const AdBlockRulematch (const QWebEngineUrlRequestInfo &request, const QString &urlDomain, const QString &urlString) const
 
bool adBlockDisabledForUrl (const QUrl &url) const
 
bool elemHideDisabledForUrl (const QUrl &url) const
 
bool genericElemHideDisabledForUrl (const QUrl &url) const
 
QString elementHidingRules () const
 
QString elementHidingRulesForDomain (const QString &domain) const
 

Detailed Description

Definition at line 31 of file adblockmatcher.h.

Constructor & Destructor Documentation

◆ AdBlockMatcher()

AdBlockMatcher::AdBlockMatcher ( AdBlockManager manager)
explicit

Definition at line 23 of file adblockmatcher.cpp.

◆ ~AdBlockMatcher()

AdBlockMatcher::~AdBlockMatcher ( )

Definition at line 29 of file adblockmatcher.cpp.

Member Function Documentation

◆ adBlockDisabledForUrl()

bool AdBlockMatcher::adBlockDisabledForUrl ( const QUrl &  url) const

Definition at line 61 of file adblockmatcher.cpp.

◆ clear

void AdBlockMatcher::clear ( )
slot

Definition at line 228 of file adblockmatcher.cpp.

◆ elementHidingRules()

QString AdBlockMatcher::elementHidingRules ( ) const

Definition at line 100 of file adblockmatcher.cpp.

◆ elementHidingRulesForDomain()

QString AdBlockMatcher::elementHidingRulesForDomain ( const QString &  domain) const

Definition at line 105 of file adblockmatcher.cpp.

◆ elemHideDisabledForUrl()

bool AdBlockMatcher::elemHideDisabledForUrl ( const QUrl &  url) const

Definition at line 72 of file adblockmatcher.cpp.

◆ genericElemHideDisabledForUrl()

bool AdBlockMatcher::genericElemHideDisabledForUrl ( const QUrl &  url) const

Definition at line 86 of file adblockmatcher.cpp.

◆ match()

const AdBlockRule * AdBlockMatcher::match ( const QWebEngineUrlRequestInfo &  request,
const QString &  urlDomain,
const QString &  urlString 
) const

Definition at line 34 of file adblockmatcher.cpp.

◆ update

void AdBlockMatcher::update ( )
slot

Definition at line 135 of file adblockmatcher.cpp.


The documentation for this class was generated from the following files: