7#include "headerstyleplugin.h"
9using namespace MessageViewer;
10class MessageViewer::HeaderStylePluginPrivate
13 HeaderStylePluginPrivate() =
default;
15 bool mIsEnabled =
false;
16 bool mShowEmoticons =
true;
19HeaderStylePlugin::HeaderStylePlugin(
QObject *parent)
21 , d(new MessageViewer::HeaderStylePluginPrivate)
25HeaderStylePlugin::~HeaderStylePlugin() =
default;
27bool HeaderStylePlugin::hasMargin()
const
32QString HeaderStylePlugin::alignment()
const
34 return QStringLiteral(
"left");
37int HeaderStylePlugin::elidedTextSize()
const
42void HeaderStylePlugin::setIsEnabled(
bool enabled)
44 d->mIsEnabled = enabled;
47bool HeaderStylePlugin::isEnabled()
const
52QString HeaderStylePlugin::attachmentHtml()
const
57bool HeaderStylePlugin::hasConfigureDialog()
const
62void HeaderStylePlugin::showConfigureDialog(
QWidget *parent)
68QString HeaderStylePlugin::extraScreenCss(
const QString &headerFont)
const
74QString HeaderStylePlugin::extraPrintCss(
const QString &headerFont)
const
80QString HeaderStylePlugin::extraCommonCss(
const QString &headerFont)
const
86#include "moc_headerstyleplugin.cpp"
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.