Messagelib

defaultgrantleeheaderstyleinterface.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messageviewer/headerstyleinterface.h"
10#include <GrantleeTheme/GrantleeTheme>
11
12namespace MessageViewer
13{
14class DefaultGrantleeHeaderStyleInterface : public MessageViewer::HeaderStyleInterface
15{
17public:
18 explicit DefaultGrantleeHeaderStyleInterface(HeaderStylePlugin *plugin, QObject *parent = nullptr);
19 ~DefaultGrantleeHeaderStyleInterface() override;
20
21 void createAction(KActionMenu *menu, QActionGroup *actionGroup, KActionCollection *ac) override;
22 void activateAction() override;
23
24private:
25 void slotDefaultGrantleeHeaders();
26 GrantleeTheme::Theme mDefaultTheme;
27};
28}
The HeaderStyleInterface class.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.