Messagelib

messageviewercheckbeforedeletingpluginmanager.h
1 /*
2  SPDX-FileCopyrightText: 2021-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messageviewer_export.h"
10 #include <PimCommon/PluginUtil>
11 #include <QObject>
12 namespace MessageViewer
13 {
14 class MessageViewerCheckBeforeDeletingPlugin;
15 class MessageViewerCheckBeforeDeletingPluginManagerPrivate;
16 /**
17  * @brief The MessageViewerCheckBeforeDeletingPluginManager class
18  * @author Laurent Montel <[email protected]>
19  */
20 class MESSAGEVIEWER_EXPORT MessageViewerCheckBeforeDeletingPluginManager : public QObject
21 {
22  Q_OBJECT
23 public:
25 
26  explicit MessageViewerCheckBeforeDeletingPluginManager(QObject *parent = nullptr);
28 
29  Q_REQUIRED_RESULT QVector<MessageViewer::MessageViewerCheckBeforeDeletingPlugin *> pluginsList() const;
30 
31  Q_REQUIRED_RESULT QVector<PimCommon::PluginUtilData> pluginsDataList() const;
32  Q_REQUIRED_RESULT QString configPrefixSettingKey() const;
33  Q_REQUIRED_RESULT QString configGroupName() const;
34  Q_REQUIRED_RESULT MessageViewerCheckBeforeDeletingPlugin *pluginFromIdentifier(const QString &id);
35 
36 private:
37  std::unique_ptr<MessageViewerCheckBeforeDeletingPluginManagerPrivate> const d;
38 };
39 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.