Messagelib

messageviewerrenderer.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 Code based on ARHParser.jsm from dkim_verifier (Copyright (c) Philippe Lieser)
5 (This software is licensed under the terms of the MIT License.)
6
7 SPDX-License-Identifier: LGPL-2.0-or-later
8*/
9
10#pragma once
11
12#include "messageviewer_private_export.h"
13#include <QWidget>
14namespace MessageViewer
15{
16class CSSHelper;
17class MESSAGEVIEWER_TESTS_EXPORT MessageViewerRenderer
18{
19public:
20 MessageViewerRenderer();
21 ~MessageViewerRenderer();
22
23 CSSHelper *cssHelper() const;
24
25 QWidget *currentWidget() const;
26 void setCurrentWidget(QWidget *currentWidget);
27
28 void recreateCssHelper();
29
30private:
31 CSSHelper *mCSSHelper = nullptr;
32 QWidget *mCurrentWidget = nullptr;
33};
34}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.