diff --git a/messageviewer/src/messageviewerconfigureplugins/messageviewerconfiguresettingswidget.cpp b/messageviewer/src/messageviewerconfigureplugins/messageviewerconfiguresettingswidget.cpp new file mode 100644 index 00000000..c85f08df --- /dev/null +++ b/messageviewer/src/messageviewerconfigureplugins/messageviewerconfiguresettingswidget.cpp @@ -0,0 +1,36 @@ +/* + Copyright (C) 2016-2018 Laurent Montel + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include "plugineditorcheckbeforesendconfigurewidget.h" + +using namespace MessageComposer; + +PluginEditorCheckBeforeSendConfigureWidget::PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent) + : QWidget(parent) +{ +} + +PluginEditorCheckBeforeSendConfigureWidget::~PluginEditorCheckBeforeSendConfigureWidget() +{ +} + +QString PluginEditorCheckBeforeSendConfigureWidget::helpAnchor() const +{ + return QString(); +} diff --git a/messageviewer/src/messageviewerconfigureplugins/messageviewerconfiguresettingswidget.h b/messageviewer/src/messageviewerconfigureplugins/messageviewerconfiguresettingswidget.h new file mode 100644 index 00000000..bfaa8e31 --- /dev/null +++ b/messageviewer/src/messageviewerconfigureplugins/messageviewerconfiguresettingswidget.h @@ -0,0 +1,42 @@ +/* + Copyright (C) 2016-2018 Laurent Montel + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H +#define PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H + +#include "messagecomposer_export.h" +#include + +namespace MessageComposer { +class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendConfigureWidget : public QWidget +{ + Q_OBJECT +public: + explicit PluginEditorCheckBeforeSendConfigureWidget(QWidget *parent = nullptr); + ~PluginEditorCheckBeforeSendConfigureWidget(); + + virtual void loadSettings() = 0; + virtual void saveSettings() = 0; + virtual void resetSettings() = 0; + virtual QString helpAnchor() const; +Q_SIGNALS: + void configureChanged(); +}; +} +#endif // PLUGINEDITORCHECKBEFORESENDCONFIGUREWIDGET_H