Messagelib

plugineditorcheckbeforesendinterface.cpp
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "plugineditorcheckbeforesendinterface.h"
8
9using namespace MessageComposer;
10
11class MessageComposer::PluginEditorCheckBeforeSendInterfacePrivate
12{
13public:
14 PluginEditorCheckBeforeSendInterfacePrivate() = default;
15
17 QWidget *mParentWidget = nullptr;
18};
19
20PluginEditorCheckBeforeSendInterface::PluginEditorCheckBeforeSendInterface(QObject *parent)
21 : QObject(parent)
22 , d(new MessageComposer::PluginEditorCheckBeforeSendInterfacePrivate)
23{
24}
25
26PluginEditorCheckBeforeSendInterface::~PluginEditorCheckBeforeSendInterface() = default;
27
28void PluginEditorCheckBeforeSendInterface::setParentWidget(QWidget *parent)
29{
30 d->mParentWidget = parent;
31}
32
33QWidget *PluginEditorCheckBeforeSendInterface::parentWidget() const
34{
35 return d->mParentWidget;
36}
37
38void PluginEditorCheckBeforeSendInterface::setParameters(const MessageComposer::PluginEditorCheckBeforeSendParams &params)
39{
40 d->parameters = params;
41}
42
43MessageComposer::PluginEditorCheckBeforeSendParams PluginEditorCheckBeforeSendInterface::parameters() const
44{
45 return d->parameters;
46}
47
48void PluginEditorCheckBeforeSendInterface::reloadConfig()
49{
50 // Reimplement it
51}
52
53#include "moc_plugineditorcheckbeforesendinterface.cpp"
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.