Messagelib

defaultgrantleeheaderstrategy.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 <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 QLatin1String name
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Nov 26 2021 23:16:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.