10#include "messageviewerrenderer.h"
11#include "viewer/csshelper.h"
12using namespace MessageViewer;
13MessageViewerRenderer::MessageViewerRenderer() =
default;
15MessageViewerRenderer::~MessageViewerRenderer()
20CSSHelper *MessageViewerRenderer::cssHelper()
const
25QWidget *MessageViewerRenderer::currentWidget()
const
27 return mCurrentWidget;
30void MessageViewerRenderer::setCurrentWidget(
QWidget *currentWidget)
32 mCurrentWidget = currentWidget;
35void MessageViewerRenderer::recreateCssHelper()
39 oldHeaderStylePlugin = mCSSHelper->headerPlugin();
42 mCSSHelper =
new CSSHelper(mCurrentWidget);
43 if (oldHeaderStylePlugin) {
44 mCSSHelper->setHeaderPlugin(oldHeaderStylePlugin);
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.