Messagelib

plugineditorconverttextmanager.h
1 /*
2  SPDX-FileCopyrightText: 2018-2021 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  Q_REQUIRED_RESULT QVector<PluginEditorConvertText *> pluginsList() const;
30 
31  Q_REQUIRED_RESULT QString configGroupName() const;
32  Q_REQUIRED_RESULT QString configPrefixSettingKey() const;
33  Q_REQUIRED_RESULT QVector<PimCommon::PluginUtilData> pluginsDataList() const;
34  Q_REQUIRED_RESULT PluginEditorConvertText *pluginFromIdentifier(const QString &id);
35 
36 private:
37  std::unique_ptr<PluginEditorConvertTextManagerPrivate> const d;
38 };
39 }
The PluginEditorConvertText class.
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-2021 The KDE developers.
Generated on Thu Dec 2 2021 23:06:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.