Commit 72c5fbcf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add configurewidget

parent ef324584
cmake_minimum_required(VERSION 3.0)
set(PIM_VERSION "5.10.41")
set(PIM_VERSION "5.10.42")
if (POLICY CMP0053)
cmake_policy(SET CMP0053 NEW)
......
......@@ -181,6 +181,7 @@ set(libmessageviewer_viewerplugins_SRCS
set(libmessageviewer_configureplugins_SRCS
messageviewerconfigureplugins/messageviewerconfiguresettingsplugin.cpp
messageviewerconfigureplugins/messageviewerconfiguresettingspluginmanager.cpp
messageviewerconfigureplugins/messageviewerconfiguresettingspluginwidget.cpp
)
set(libmessageviewer_messagepartthemes_default_SRCS
......@@ -385,6 +386,7 @@ ecm_generate_headers(MessageViewer_CamelcaseConfigurePlugins_HEADERS
HEADER_NAMES
MessageViewerConfigureSettingsPluginManager
MessageViewerConfigureSettingsPlugin
MessageViewerConfigureSettingsPluginWidget
REQUIRED_HEADERS MessageViewer_ConfigurePlugins_HEADERS
PREFIX MessageViewer
RELATIVE messageviewerconfigureplugins
......
/*
Copyright (C) 2016-2018 Laurent Montel <montel@kde.org>
Copyright (C) 2018 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
......@@ -17,20 +17,20 @@
Boston, MA 02110-1301, USA.
*/
#include "plugineditorcheckbeforesendconfigurewidget.h"
#include "messageviewerconfiguresettingspluginwidget.h"
using namespace MessageComposer;
using namespace MessageViewer;
PluginEditorCheckBeforeSendConfigureWidget::PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent)
MessageViewerConfigureSettingsPluginWidget::MessageViewerConfigureSettingsPluginWidget(QWidget *parent)
: QWidget(parent)
{
}
PluginEditorCheckBeforeSendConfigureWidget::~PluginEditorCheckBeforeSendConfigureWidget()
MessageViewerConfigureSettingsPluginWidget::~MessageViewerConfigureSettingsPluginWidget()
{
}
QString PluginEditorCheckBeforeSendConfigureWidget::helpAnchor() const
QString MessageViewerConfigureSettingsPluginWidget::helpAnchor() const
{
return QString();
}
/*
Copyright (C) 2016-2018 Laurent Montel <montel@kde.org>
Copyright (C) 2018 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
......@@ -17,19 +17,19 @@
Boston, MA 02110-1301, USA.
*/
#ifndef PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H
#define PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H
#ifndef MESSAGEVIEWERCONFIGURESETTINGSPLUGINWIDGET_H
#define MESSAGEVIEWERCONFIGURESETTINGSPLUGINWIDGET_H
#include "messagecomposer_export.h"
#include "messageviewer_export.h"
#include <QWidget>
namespace MessageComposer {
class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendConfigureWidget : public QWidget
namespace MessageViewer {
class MESSAGEVIEWER_EXPORT MessageViewerConfigureSettingsPluginWidget : public QWidget
{
Q_OBJECT
public:
explicit PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent = nullptr);
~PluginEditorCheckBeforeSendConfigureWidget();
explicit MessageViewerConfigureSettingsPluginWidget(QWidget *parent = nullptr);
~MessageViewerConfigureSettingsPluginWidget();
virtual void loadSettings() = 0;
virtual void saveSettings() = 0;
......@@ -39,4 +39,4 @@ Q_SIGNALS:
void configureChanged();
};
}
#endif // PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H
#endif // MESSAGEVIEWERCONFIGURESETTINGSPLUGINWIDGET_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