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 <[email protected]>
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 
16 namespace MessageViewer
17 {
18 /**
19  * @brief The CSSHelper class
20  */
21 class MESSAGEVIEWER_EXPORT CSSHelper : public CSSHelperBase
22 {
23 public:
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  Q_REQUIRED_RESULT QString htmlHead(bool fixedFont = false) const override;
30  Q_REQUIRED_RESULT QString endBodyHtml() const;
31  void updateColor();
32 };
33 }
The CSSHelper class.
Definition: csshelper.h:21
The CSSHelperBase class.
Definition: csshelperbase.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:02:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.