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 #pragma once
8 
9 #include "headerstyle.h"
10 #include "messageviewer_export.h"
11 
12 namespace MessageViewer
13 {
14 class GrantleeHeaderTestStylePrivate;
15 /**
16  * @brief The GrantleeHeaderTestStyle class
17  * @author Laurent Montel <[email protected]>
18  */
19 class MESSAGEVIEWER_EXPORT GrantleeHeaderTestStyle : public HeaderStyle
20 {
21  friend class GrantleeHeaderStyle;
22 
23 public:
25  ~GrantleeHeaderTestStyle() override;
26 
27 public:
28  const char *name() const override;
29 
30  Q_REQUIRED_RESULT QString format(KMime::Message *message) const override;
31 
32  void setAbsolutePath(const QString &);
33  void setMainFilename(const QString &);
34  void setExtraDisplayHeaders(const QStringList &);
35 
36 private:
37  std::unique_ptr<GrantleeHeaderTestStylePrivate> const d;
38 };
39 }
40 
This class encapsulates the visual appearance of message headers.
Definition: headerstyle.h:46
const QLatin1String name
The GrantleeHeaderTestStyle class.
The GrantleeHeaderStyle class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.