Messagelib

defaultgrantleeheaderstyleinterface.h
1 /*
2  SPDX-FileCopyrightText: 2015-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <GrantleeTheme/GrantleeTheme>
10 #include <messageviewer/headerstyleinterface.h>
11 
12 namespace MessageViewer
13 {
14 class DefaultGrantleeHeaderStyleInterface : public MessageViewer::HeaderStyleInterface
15 {
16  Q_OBJECT
17 public:
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 
24 private:
25  void slotDefaultGrantleeHeaders();
26  GrantleeTheme::Theme mDefaultTheme;
27 };
28 }
29 
Q_OBJECTQ_OBJECT
The HeaderStyleInterface class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.