Commit 55ffb295 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Create interface class for configure dialog

parent a0773780
......@@ -91,6 +91,7 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
webengine/urlinterceptor/networkurlinterceptorpluginmanager.cpp
webengine/urlinterceptor/networkpluginurlinterceptor.cpp
webengine/urlinterceptor/networkurlinterceptormanager.cpp
webengine/urlinterceptor/networkpluginurlinterceptorconfigurewidget.cpp
)
set(libmessageviewer_web_LIB Qt5::WebEngine Qt5::WebEngineWidgets ${libmessageviewer_web_LIB})
endif()
......@@ -334,6 +335,7 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
MailWebEnginePage
MailWebEngineAccessKey
MailWebEngineView
REQUIRED_HEADERS MessageViewer_webengine_HEADERS
PREFIX MessageViewer
RELATIVE viewer/webengine
......@@ -344,6 +346,7 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
NetworkUrlInterceptor
NetworkPluginUrlInterceptorInterface
NetworkPluginUrlInterceptor
NetworkPluginUrlInterceptorConfigureWidget
REQUIRED_HEADERS MessageViewer_webengine_urlinterceptor_HEADERS
PREFIX MessageViewer
......
/*
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 "networkpluginurlinterceptorconfigurewidget.h"
using namespace MessageViewer;
NetworkPluginUrlInterceptorConfigureWidget::NetworkPluginUrlInterceptorConfigureWidget(QWidget *parent)
: QWidget(parent)
{
}
NetworkPluginUrlInterceptorConfigureWidget::~NetworkPluginUrlInterceptorConfigureWidget()
{
}
/*
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 NETWORKPLUGINURLINTERCEPTORCONFIGUREWIDGET_H
#define NETWORKPLUGINURLINTERCEPTORCONFIGUREWIDGET_H
#include <QWidget>
#include "messageviewer_export.h"
namespace MessageViewer
{
class MESSAGEVIEWER_EXPORT NetworkPluginUrlInterceptorConfigureWidget : public QWidget
{
Q_OBJECT
public:
explicit NetworkPluginUrlInterceptorConfigureWidget(QWidget *parent = Q_NULLPTR);
~NetworkPluginUrlInterceptorConfigureWidget();
virtual void loadSettings() = 0;
virtual void saveSettings() = 0;
virtual void resetSettings() = 0;
};
}
#endif // NETWORKPLUGINURLINTERCEPTORCONFIGUREWIDGET_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