Messagelib

plugineditorgrammarmanager.h
1/*
2 SPDX-FileCopyrightText: 2019-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 PimCommon
14{
15class CustomToolsPlugin;
16}
17namespace MessageComposer
18{
19class PluginEditorGrammarManagerPrivate;
20/**
21 * @brief The PluginEditorGrammarManager class
22 * @author Laurent Montel <montel@kde.org>
23 */
24class MESSAGECOMPOSER_EXPORT PluginEditorGrammarManager : public QObject
25{
26 Q_OBJECT
27public:
29
30 static PluginEditorGrammarManager *self();
31
32 [[nodiscard]] QList<PimCommon::CustomToolsPlugin *> pluginsList() const;
33
34 [[nodiscard]] QString configGroupName() const;
35 [[nodiscard]] QString configPrefixSettingKey() const;
36 [[nodiscard]] QList<PimCommon::PluginUtilData> pluginsDataList() const;
37 [[nodiscard]] PimCommon::CustomToolsPlugin *pluginFromIdentifier(const QString &id);
38
39private:
40 explicit PluginEditorGrammarManager(QObject *parent = nullptr);
41 std::unique_ptr<PluginEditorGrammarManagerPrivate> const d;
42};
43}
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.