Messagelib

plugineditorinitmanager.h
1/*
2 SPDX-FileCopyrightText: 2017-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>
12#include <memory>
13namespace MessageComposer
14{
15class PluginEditorInitManagerPrivate;
16class PluginEditorInit;
17/**
18 * @brief The PluginEditorInitManager class
19 * @author Laurent Montel <montel@kde.org>
20 */
21class MESSAGECOMPOSER_EXPORT PluginEditorInitManager : public QObject
22{
23 Q_OBJECT
24public:
25 ~PluginEditorInitManager() override;
26
27 static PluginEditorInitManager *self();
28
29 [[nodiscard]] QList<PluginEditorInit *> pluginsList() const;
30
31 [[nodiscard]] QString configGroupName() const;
32 [[nodiscard]] QString configPrefixSettingKey() const;
33 [[nodiscard]] QList<PimCommon::PluginUtilData> pluginsDataList() const;
34 [[nodiscard]] PluginEditorInit *pluginFromIdentifier(const QString &id);
35
36private:
37 explicit PluginEditorInitManager(QObject *parent = nullptr);
38 std::unique_ptr<PluginEditorInitManagerPrivate> const d;
39};
40}
The PluginEditorInit 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-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:37:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.