Commit 87dbf57d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add replyAsHtml support in templateparserjob

parent d44ebc99
Pipeline #21148 passed with stage
in 28 minutes and 11 seconds
......@@ -276,6 +276,11 @@ void TemplateParserJob::processWithTemplate(const QString &tmpl)
job->start();
}
void TemplateParserJob::setReplyAsHtml(bool replyAsHtml)
{
d->mReplyAsHtml = replyAsHtml;
}
void TemplateParserJob::slotExtractInfoDone(const TemplateParserExtractHtmlInfoResult &result)
{
d->mExtractHtmlInfoResult = result;
......
......@@ -209,6 +209,8 @@ public:
void processWithTemplate(const QString &tmpl);
void setReplyAsHtml(bool replyAsHtml);
Q_SIGNALS:
void parsingDone(bool cursorPositionWasSet);
......
......@@ -63,6 +63,7 @@ public:
bool mAllowDecryption = true;
bool mDebug = false;
bool mWrap = true;
bool mReplyAsHtml = false;
};
}
......
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