Commit d5434493 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

parent 9f1343ec
......@@ -76,7 +76,7 @@ set(LIBKLEO_LIB_VERSION "5.13.40")
set(AKONADI_LIB_VERSION "5.13.40")
set(INCIDENCEEDITOR_LIB_VERSION "5.13.40")
set(KTNEF_LIB_VERSION "5.13.40")
set(MESSAGELIB_LIB_VERSION "5.13.46")
set(MESSAGELIB_LIB_VERSION "5.13.47")
set(AKONADICALENDAR_LIB_VERSION "5.13.40")
set(CALENDAR_UTILS_VERSION "5.13.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.13.40")
......
......@@ -22,6 +22,7 @@
#include "fancyheaderstyle.h"
#include "messageviewer/richheaderstrategy.h"
#include <KPluginFactory>
#include <KLocalizedString>
#include <QApplication>
using namespace MessageViewer;
......@@ -197,4 +198,11 @@ QString FancyHeaderStylePlugin::extraCommonCss(const QString &headerFont) const
return val;
}
QString MessageViewer::FancyHeaderStylePlugin::attachmentHtml() const
{
return QStringLiteral("<div style=\"float:left;\">%1&nbsp;</div>").arg(i18n("Attachments:"));
}
#include "fancyheaderstyleplugin.moc"
......@@ -40,6 +40,7 @@ public:
QString extraScreenCss(const QString &headerFont) const override;
QString extraPrintCss(const QString &headerFont) const override;
QString extraCommonCss(const QString &headerFont) const override;
QString attachmentHtml() const override;
private:
HeaderStyle *mHeaderStyle = nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment