Messagelib

plainheaderstyle.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "messageviewer/headerstyle.h"
10 #include "messageviewer_export.h"
11 namespace MessageViewer
12 {
13 class PlainHeaderStylePrivate;
14 /**
15  * @brief The PlainHeaderStyle class
16  * @author Laurent Montel <[email protected]>
17  */
18 class MESSAGEVIEWER_EXPORT PlainHeaderStyle : public HeaderStyle
19 {
20 public:
22  ~PlainHeaderStyle() override;
23 
24 public:
25  const char *name() const override;
26 
27  Q_REQUIRED_RESULT QString format(KMime::Message *message) const override;
28 
29 private:
30  std::unique_ptr<PlainHeaderStylePrivate> const d;
31 };
32 }
This class encapsulates the visual appearance of message headers.
Definition: headerstyle.h:46
const QLatin1String name
The PlainHeaderStyle class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Dec 2 2021 23:06:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.