Messagelib

grantleeheaderteststyle.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
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
12namespace MessageViewer
13{
14class GrantleeHeaderTestStylePrivate;
15/**
16 * @brief The GrantleeHeaderTestStyle class
17 * @author Laurent Montel <montel@kde.org>
18 */
19class MESSAGEVIEWER_EXPORT GrantleeHeaderTestStyle : public HeaderStyle
20{
21 friend class GrantleeHeaderStyle;
22
23public:
25 ~GrantleeHeaderTestStyle() override;
26
27 const char *name() const override;
28
29 [[nodiscard]] QString format(KMime::Message *message) const override;
30
31 void setAbsolutePath(const QString &);
32 void setMainFilename(const QString &);
33 void setExtraDisplayHeaders(const QStringList &);
34
35private:
36 std::unique_ptr<GrantleeHeaderTestStylePrivate> const d;
37};
38}
The GrantleeHeaderStyle class.
The GrantleeHeaderTestStyle class.
This class encapsulates the visual appearance of message headers.
Definition headerstyle.h:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.