Messagelib

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

KDE's Doxygen guidelines are available online.