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

messageviewer

  • sources
  • kde-4.12
  • kdepim
  • messageviewer
  • adblock
adblockruleimpl.h
Go to the documentation of this file.
1 /* ============================================================
2 *
3 * This file is a part of the rekonq project
4 *
5 * Copyright (C) 2010-2011 by Benjamin Poulain <ikipou at gmail dot com>
6 *
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License or (at your option) version 3 or any later version
12 * accepted by the membership of KDE e.V. (or its successor approved
13 * by the membership of KDE e.V.), which shall act as a proxy
14 * defined in Section 14 of version 3 of the license.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 *
24 * ============================================================ */
25 
26 #ifndef ADBLOCKRULEIMPL_H
27 #define ADBLOCKRULEIMPL_H
28 
29 class QString;
30 class QNetworkRequest;
31 
32 class AdBlockRuleImpl
33 {
34 public:
35  explicit AdBlockRuleImpl(const QString &) {}
36  virtual ~AdBlockRuleImpl() {}
37 
38  virtual bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const = 0;
39 
40  // This are added just for debugging purposes
41  virtual QString ruleString() const = 0;
42  virtual QString ruleType() const = 0;
43 };
44 
45 #endif // ADBLOCKRULEIMPL_H
AdBlockRuleImpl
Definition: adblockruleimpl.h:32
AdBlockRuleImpl::ruleType
virtual QString ruleType() const =0
AdBlockRuleImpl::AdBlockRuleImpl
AdBlockRuleImpl(const QString &)
Definition: adblockruleimpl.h:35
AdBlockRuleImpl::~AdBlockRuleImpl
virtual ~AdBlockRuleImpl()
Definition: adblockruleimpl.h:36
AdBlockRuleImpl::match
virtual bool match(const QNetworkRequest &request, const QString &encodedUrl, const QString &encodedUrlLowerCase) const =0
AdBlockRuleImpl::ruleString
virtual QString ruleString() const =0
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 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

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