diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-07 12:09:39 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-07 12:15:33 +0200 |
commit | 5880ba07757f85c41474d3eb6473facdcb468482 (patch) | |
tree | 6d162874246c29d4234f628efd3a80efd8510b6a /framework/domain/stringhtmlwriter.cpp | |
parent | 5f2a3aa64cedc7f5517a1047dd699a286faf1898 (diff) | |
download | kube-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.cpp | 5 |
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 | ||
139 | QMap<QByteArray, QUrl> StringHtmlWriter::embeddedParts() const | ||
140 | { | ||
141 | return mEmbeddedPartMap; | ||
142 | } | ||
143 | |||
139 | QString StringHtmlWriter::html() const | 144 | QString StringHtmlWriter::html() const |
140 | { | 145 | { |
141 | if (mState != Ended) { | 146 | if (mState != Ended) { |