Messagelib

grantleeheaderteststyle.h
1 /*
2  SPDX-FileCopyrightText: 2013-2022 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 }
The GrantleeHeaderStyle class.
This class encapsulates the visual appearance of message headers.
Definition: headerstyle.h:46
The GrantleeHeaderTestStyle class.
QString message
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue May 24 2022 04:08:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.