Messagelib

plugineditorcheckbeforesendmanager.h
1 /*
2  SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messagecomposer_export.h"
10 #include <PimCommon/PluginUtil>
11 #include <QObject>
12 namespace MessageComposer
13 {
14 class PluginEditorCheckBeforeSendManagerPrivate;
15 class PluginEditorCheckBeforeSend;
16 /**
17  * @brief The PluginEditorCheckBeforeSendManager class
18  * @author Laurent Montel <montel@kde.org>
19  */
20 class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendManager : public QObject
21 {
22  Q_OBJECT
23 public:
24  explicit PluginEditorCheckBeforeSendManager(QObject *parent = nullptr);
26 
28 
29  [[nodiscard]] QList<PluginEditorCheckBeforeSend *> pluginsList() const;
30 
31  [[nodiscard]] QString configGroupName() const;
32  [[nodiscard]] QString configPrefixSettingKey() const;
33  [[nodiscard]] QList<PimCommon::PluginUtilData> pluginsDataList() const;
34  [[nodiscard]] PluginEditorCheckBeforeSend *pluginFromIdentifier(const QString &id);
35 
36 private:
37  std::unique_ptr<PluginEditorCheckBeforeSendManagerPrivate> const d;
38 };
39 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.