Messagelib

plugineditorgrammarmanager.h
1 /*
2  SPDX-FileCopyrightText: 2019-2020 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef PLUGINEDITORGRAMMARMANAGER_H
8 #define PLUGINEDITORGRAMMARMANAGER_H
9 
10 #include <QObject>
11 #include "messagecomposer_export.h"
12 #include <PimCommon/PluginUtil>
13 namespace PimCommon {
14 class CustomToolsPlugin;
15 }
16 namespace MessageComposer {
17 class PluginEditorGrammarManagerPrivate;
22 class MESSAGECOMPOSER_EXPORT PluginEditorGrammarManager : public QObject
23 {
24  Q_OBJECT
25 public:
26  explicit PluginEditorGrammarManager(QObject *parent = nullptr);
28 
29  static PluginEditorGrammarManager *self();
30 
31  Q_REQUIRED_RESULT QVector<PimCommon::CustomToolsPlugin *> pluginsList() const;
32 
33  Q_REQUIRED_RESULT QString configGroupName() const;
34  Q_REQUIRED_RESULT QString configPrefixSettingKey() const;
35  Q_REQUIRED_RESULT QVector<PimCommon::PluginUtilData> pluginsDataList() const;
36  Q_REQUIRED_RESULT PimCommon::CustomToolsPlugin *pluginFromIdentifier(const QString &id);
37 private:
38  PluginEditorGrammarManagerPrivate *const d;
39 };
40 }
41 #endif // PLUGINEDITORGRAMMARMANAGER_H
The PluginEditorGrammarManager 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-2020 The KDE developers.
Generated on Mon Sep 21 2020 23:14:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.