• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • sources
  • kde-4.14
  • kdepim
  • messageviewer
  • adblock
adblockrulenullimpl.h
Go to the documentation of this file.
1 /* ============================================================
2 *
3 * This file is a part of the rekonq project
4 * Copyright (c) 2013-2015 Montel Laurent <montel@kde.org>
5 * based on code from rekonq
6 * Copyright (C) 2011-2012 by Andrea Diamantini <adjam7 at gmail dot com>
7 *
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License or (at your option) version 3 or any later version
13 * accepted by the membership of KDE e.V. (or its successor approved
14 * by the membership of KDE e.V.), which shall act as a proxy
15 * defined in Section 14 of version 3 of the license.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 * ============================================================ */
26 
27 
28 #ifndef ADBLOCKRULE_NULL_IMPL_H
29 #define ADBLOCKRULE_NULL_IMPL_H
30 
31 
32 // Local Includes
33 #include "adblockruleimpl.h"
34 
35 // Qt Includes
36 #include <QString>
37 
38 namespace MessageViewer {
39 class AdBlockRuleNullImpl : public AdBlockRuleImpl
40 {
41 
42 public:
43  explicit AdBlockRuleNullImpl(const QString &filter);
44 
45  bool match(const QNetworkRequest &, const QString &, const QString &) const;
46 
47  static bool isNullFilter(const QString &filter);
48 
49  QString ruleString() const;
50  QString ruleType() const;
51 };
52 }
53 
54 #endif // ADBLOCKRULE_NULL_IMPL_H
MessageViewer::AdBlockRuleNullImpl::ruleString
QString ruleString() const
Definition: adblockrulenullimpl.cpp:128
MessageViewer::AdBlockRuleNullImpl
Definition: adblockrulenullimpl.h:39
AdBlockRuleImpl
Definition: adblockruleimpl.h:32
adblockruleimpl.h
QNetworkRequest
MessageViewer::AdBlockRuleNullImpl::match
bool match(const QNetworkRequest &, const QString &, const QString &) const
Definition: adblockrulenullimpl.cpp:41
QString
MessageViewer::AdBlockRuleNullImpl::isNullFilter
static bool isNullFilter(const QString &filter)
Definition: adblockrulenullimpl.cpp:47
MessageViewer::AdBlockRuleNullImpl::AdBlockRuleNullImpl
AdBlockRuleNullImpl(const QString &filter)
Definition: adblockrulenullimpl.cpp:35
MessageViewer::AdBlockRuleNullImpl::ruleType
QString ruleType() const
Definition: adblockrulenullimpl.cpp:134
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

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal