Messagelib

headerstylepluginmanager.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
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>
12namespace MessageViewer
13{
14class HeaderStylePlugin;
15class HeaderStylePluginManagerPrivate;
16/**
17 * @brief The HeaderStylePluginManager class
18 * @author Laurent Montel <montel@kde.org>
19 */
20class MESSAGEVIEWER_EXPORT HeaderStylePluginManager : public QObject
21{
22 Q_OBJECT
23public:
24 static HeaderStylePluginManager *self();
25
27
28 [[nodiscard]] QList<MessageViewer::HeaderStylePlugin *> pluginsList() const;
29 [[nodiscard]] QStringList pluginListName() const;
30
31 [[nodiscard]] QList<PimCommon::PluginUtilData> pluginsDataList() const;
32 [[nodiscard]] QString configPrefixSettingKey() const;
33 [[nodiscard]] QString configGroupName() const;
34 [[nodiscard]] MessageViewer::HeaderStylePlugin *pluginFromIdentifier(const QString &id);
35
36private:
37 explicit HeaderStylePluginManager(QObject *parent = nullptr);
38 std::unique_ptr<HeaderStylePluginManagerPrivate> const d;
39};
40}
The HeaderStylePluginManager class.
The HeaderStylePlugin class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.