Messagelib

defaultgrantleeheaderstrategy.h
1 /*
2  SPDX-FileCopyrightText: 2015-2022 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <messageviewer/headerstrategy.h>
10 
11 namespace MessageViewer
12 {
13 class DefaultGrantleeHeaderStrategy : public HeaderStrategy
14 {
15 public:
16  DefaultGrantleeHeaderStrategy();
17  ~DefaultGrantleeHeaderStrategy() override;
18 
19 public:
20  Q_REQUIRED_RESULT const char *name() const override
21  {
22  return "defaultgrantlee";
23  }
24 
25  Q_REQUIRED_RESULT DefaultPolicy defaultPolicy() const override
26  {
27  return Hide;
28  }
29 };
30 }
const char * name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed May 25 2022 03:55:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.