summaryrefslogtreecommitdiffstats
path: root/framework/domain/stringhtmlwriter.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-07 12:09:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-07 12:15:33 +0200
commit5880ba07757f85c41474d3eb6473facdcb468482 (patch)
tree6d162874246c29d4234f628efd3a80efd8510b6a /framework/domain/stringhtmlwriter.cpp
parent5f2a3aa64cedc7f5517a1047dd699a286faf1898 (diff)
downloadkube-5880ba07757f85c41474d3eb6473facdcb468482.tar.gz
kube-5880ba07757f85c41474d3eb6473facdcb468482.zip
Replace the HTML view by a tree of QML views.
This allows us to do all the visual hints for the mail parts in qml, instead of HTML.
Diffstat (limited to 'framework/domain/stringhtmlwriter.cpp')
-rw-r--r--framework/domain/stringhtmlwriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/domain/stringhtmlwriter.cpp b/framework/domain/stringhtmlwriter.cpp
index b65c992f..88034492 100644
--- a/framework/domain/stringhtmlwriter.cpp
+++ b/framework/domain/stringhtmlwriter.cpp
@@ -136,6 +136,11 @@ void StringHtmlWriter::insertExtraHead()
136 } 136 }
137} 137}
138 138
139QMap<QByteArray, QUrl> StringHtmlWriter::embeddedParts() const
140{
141 return mEmbeddedPartMap;
142}
143
139QString StringHtmlWriter::html() const 144QString StringHtmlWriter::html() const
140{ 145{
141 if (mState != Ended) { 146 if (mState != Ended) {