Messagelib

grantleeheaderteststyle.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef GRANTLEEHEADERTESTSTYLE_H
8 #define GRANTLEEHEADERTESTSTYLE_H
9 
10 #include "headerstyle.h"
11 #include "messageviewer_export.h"
12 
13 namespace MessageViewer {
14 class GrantleeHeaderTestStylePrivate;
19 class MESSAGEVIEWER_EXPORT GrantleeHeaderTestStyle : public HeaderStyle
20 {
21  friend class GrantleeHeaderStyle;
22 public:
24  ~GrantleeHeaderTestStyle() override;
25 
26 public:
27  const char *name() const override;
28 
29  Q_REQUIRED_RESULT QString format(KMime::Message *message) const override;
30 
31  void setAbsolutePath(const QString &);
32  void setMainFilename(const QString &);
33  void setExtraDisplayHeaders(const QStringList &);
34 
35 private:
36  GrantleeHeaderTestStylePrivate *const d;
37 };
38 }
39 
40 #endif // GRANTLEEHEADERTESTSTYLE_H
This class encapsulates the visual appearance of message headers.
Definition: headerstyle.h:45
The GrantleeHeaderTestStyle class.
The GrantleeHeaderStyle class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 14 2021 23:16:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.