messageviewer
adblockrulefallbackimpl.cpp
Go to the documentation of this file.
113 bool AdBlockRuleFallbackImpl::match(const QNetworkRequest &request, const QString &encodedUrl, const QString &) const
178 pattern.replace(QRegExp(QLatin1String("^\\\\\\|\\\\\\|")), QLatin1String("^[\\w\\-]+:\\/+(?!\\/)(?:[^\\/]+\\.)?"));
void setPatternSyntax(PatternSyntax syntax)
Definition: adblockruleimpl.h:32
QString ruleString() const
Definition: adblockrulefallbackimpl.cpp:197
bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const
Definition: adblockrulefallbackimpl.cpp:113
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
QByteArray rawHeader(const QByteArray &headerName) const
QObject * originatingObject() const
QString host() const
QString ruleType() const
Definition: adblockrulefallbackimpl.cpp:203
const_iterator insert(const T &value)
AdBlockRuleFallbackImpl(const QString &filter)
Definition: adblockrulefallbackimpl.cpp:46
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void setPattern(const QString &pattern)
int indexIn(const QString &str, int offset, CaretMode caretMode) const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QString toLower() const
void setCaseSensitivity(Qt::CaseSensitivity cs)
bool contains(QChar ch, Qt::CaseSensitivity cs) const
QUrl url() const
bool contains(const T &value) const
QString & replace(int position, int n, QChar after)
QString mid(int position, int n) const
QString pattern() const
int length() const
bool isEmpty() const
QString left(int n) const
QString fromLatin1(const char *str, int size)
static bool isRegExpFilter(const QString &filter)
Definition: adblockrulefallbackimpl.cpp:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.