Messagelib

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

KDE's Doxygen guidelines are available online.