Messagelib

plugineditorinitmanager.h
1 /*
2  SPDX-FileCopyrightText: 2017-2023 Laurent Montel <[email protected]>
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 #include <memory>
13 namespace MessageComposer
14 {
15 class PluginEditorInitManagerPrivate;
16 class PluginEditorInit;
17 /**
18  * @brief The PluginEditorInitManager class
19  * @author Laurent Montel <[email protected]>
20  */
21 class MESSAGECOMPOSER_EXPORT PluginEditorInitManager : public QObject
22 {
23  Q_OBJECT
24 public:
25  explicit PluginEditorInitManager(QObject *parent = nullptr);
26  ~PluginEditorInitManager() override;
27 
28  static PluginEditorInitManager *self();
29 
30  Q_REQUIRED_RESULT QVector<PluginEditorInit *> pluginsList() const;
31 
32  Q_REQUIRED_RESULT QString configGroupName() const;
33  Q_REQUIRED_RESULT QString configPrefixSettingKey() const;
34  Q_REQUIRED_RESULT QVector<PimCommon::PluginUtilData> pluginsDataList() const;
35  Q_REQUIRED_RESULT PluginEditorInit *pluginFromIdentifier(const QString &id);
36 
37 private:
38  std::unique_ptr<PluginEditorInitManagerPrivate> const d;
39 };
40 }
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
The PluginEditorInitManager class.
The PluginEditorInit class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.