Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4107bae2 authored by Sandro Knauß's avatar Sandro Knauß

objecttreeemptysource.cpp: move things around

parent e7916cf7
......@@ -65,11 +65,6 @@ bool EmptySource::htmlLoadExternal() const
return false;
}
bool EmptySource::showSignatureDetails() const
{
return false;
}
void EmptySource::setHtmlMode(MimeTreeParser::Util::HtmlMode mode, const QList<MimeTreeParser::Util::HtmlMode> &availableModes)
{
Q_UNUSED(mode);
......@@ -86,11 +81,6 @@ void EmptySource::setAllowDecryption(bool allowDecryption)
d->mAllowDecryption = allowDecryption;
}
int EmptySource::levelQuote() const
{
return 1;
}
const QTextCodec *EmptySource::overrideCodec()
{
return nullptr;
......@@ -122,26 +112,11 @@ bool EmptySource::autoImportKeys() const
return true;
}
bool EmptySource::showEmoticons() const
{
return false;
}
bool EmptySource::showExpandQuotesMark() const
{
return false;
}
const MimeTreeParser::BodyPartFormatterFactory *EmptySource::bodyPartFormatterFactory()
{
return MimeTreeParser::BodyPartFormatterFactory::instance();
}
bool EmptySource::isPrinting() const
{
return false;
}
void EmptySource::render(const MimeTreeParser::MessagePartPtr &msgPart, bool showOnlyOneMimePart)
{
if (!htmlWriter()) {
......@@ -162,3 +137,28 @@ void EmptySource::render(const MimeTreeParser::MessagePartPtr &msgPart, bool sho
renderer.render(msgPart, htmlWriter());
}
bool EmptySource::isPrinting() const
{
return false;
}
bool EmptySource::showEmoticons() const
{
return false;
}
bool EmptySource::showExpandQuotesMark() const
{
return false;
}
bool EmptySource::showSignatureDetails() const
{
return false;
}
int EmptySource::levelQuote() const
{
return 1;
}
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