Messagelib

csshelper.h
1/* -*- c++ -*-
2 csshelper.h
3
4 This file is part of KMail, the KDE mail client.
5 SPDX-FileCopyrightText: 2003 Marc Mutz <mutz@kde.org>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
9
10#pragma once
11
12#include <MessageViewer/CSSHelperBase>
13
14#include "messageviewer_export.h"
15
16namespace MessageViewer
17{
18/**
19 * @brief The CSSHelper class
20 */
21class MESSAGEVIEWER_EXPORT CSSHelper : public CSSHelperBase
22{
23public:
24 explicit CSSHelper(const QPaintDevice *pd);
25 ~CSSHelper() override;
26
27 /** @return HTML head including style sheet definitions and the
28 &gt;body&lt; tag */
29 [[nodiscard]] QString htmlHead(const HtmlHeadSettings &htmlHeadSettings) const override;
30 [[nodiscard]] QString endBodyHtml() const;
31 void updateColor();
32};
33}
The CSSHelperBase class.
The CSSHelper class.
Definition csshelper.h:22
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:37:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.