Messagelib

plugineditorconverttextmanager.h
1/*
2 SPDX-FileCopyrightText: 2018-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>
12namespace MessageComposer
13{
14class PluginEditorConvertTextManagerPrivate;
15class PluginEditorConvertText;
16/**
17 * @brief The PluginEditorConvertTextManager class
18 * @author Laurent Montel <montel@kde.org>
19 */
20class MESSAGECOMPOSER_EXPORT PluginEditorConvertTextManager : public QObject
21{
22 Q_OBJECT
23public:
25
26 static PluginEditorConvertTextManager *self();
27
28 [[nodiscard]] QList<PluginEditorConvertText *> pluginsList() const;
29
30 [[nodiscard]] QString configGroupName() const;
31 [[nodiscard]] QString configPrefixSettingKey() const;
32 [[nodiscard]] QList<PimCommon::PluginUtilData> pluginsDataList() const;
33 [[nodiscard]] PluginEditorConvertText *pluginFromIdentifier(const QString &id);
34
35private:
36 explicit PluginEditorConvertTextManager(QObject *parent = nullptr);
37 std::unique_ptr<PluginEditorConvertTextManagerPrivate> 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 Sat Dec 21 2024 16:59:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.