Commit 6312bb8f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to improve enable/disable automatic rules

parent 7fee13e0
......@@ -67,6 +67,7 @@ set(_mailwebview_cpp
adblock/common/adblocksyntaxhighlighter.cpp
adblock/common/adblockshowlistdialog.cpp
adblock/common/adblockhostmatcher.cpp
adblock/common/adblockautomaticruleslistwidget.cpp
)
......
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "adblockautomaticruleslistwidget.h"
using namespace MessageViewer;
AdBlockAutomaticRulesListWidget::AdBlockAutomaticRulesListWidget(QWidget *parent)
: QListWidget(parent)
{
}
AdBlockAutomaticRulesListWidget::~AdBlockAutomaticRulesListWidget()
{
}
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef ADBLOCKAUTOMATICRULESLISTWIDGET_H
#define ADBLOCKAUTOMATICRULESLISTWIDGET_H
#include <QListWidget>
namespace MessageViewer
{
class AdBlockAutomaticRulesListWidget : public QListWidget
{
Q_OBJECT
public:
explicit AdBlockAutomaticRulesListWidget(QWidget *parent = Q_NULLPTR);
~AdBlockAutomaticRulesListWidget();
};
}
#endif // ADBLOCKAUTOMATICRULESLISTWIDGET_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment