Messagelib

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

KDE's Doxygen guidelines are available online.