summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mimetreeparser/objecttreeparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/objecttreeparser.h')
-rw-r--r--framework/src/domain/mime/mimetreeparser/objecttreeparser.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/objecttreeparser.h b/framework/src/domain/mime/mimetreeparser/objecttreeparser.h
index 9a3f5a5c..d2076be4 100644
--- a/framework/src/domain/mime/mimetreeparser/objecttreeparser.h
+++ b/framework/src/domain/mime/mimetreeparser/objecttreeparser.h
@@ -250,24 +250,12 @@ public:
250 * composer's text editor if this was edited or replied to. 250 * composer's text editor if this was edited or replied to.
251 * This is usually the content of the first text/plain MIME part. 251 * This is usually the content of the first text/plain MIME part.
252 */ 252 */
253 QString plainTextContent() const; 253 QString plainTextContent();
254 254
255 /** 255 /**
256 * Similar to plainTextContent(), but returns the HTML source of the first text/html MIME part. 256 * Similar to plainTextContent(), but returns the HTML source of the first text/html MIME part.
257 *
258 * Not to be consfused with the HTML code that the message viewer widget displays, that HTML
259 * is written out by htmlWriter() and a totally different pair of shoes.
260 */ 257 */
261 QString htmlContent() const; 258 QString htmlContent();
262
263 /**
264 * The original charset of MIME part the plain text was extracted from.
265 *
266 * If there were more than one text/plain MIME parts in the mail, the this is the charset
267 * of the last MIME part processed.
268 */
269 QByteArray plainTextContentCharset() const;
270 QByteArray htmlContentCharset() const;
271 259
272 bool showOnlyOneMimePart() const; 260 bool showOnlyOneMimePart() const;
273 void setShowOnlyOneMimePart(bool show); 261 void setShowOnlyOneMimePart(bool show);
@@ -283,7 +271,11 @@ public:
283 QVector<MessagePartPtr> collectContentParts(); 271 QVector<MessagePartPtr> collectContentParts();
284 QVector<MessagePartPtr> collectContentParts(MessagePart::Ptr start); 272 QVector<MessagePartPtr> collectContentParts(MessagePart::Ptr start);
285 QVector<MessagePartPtr> collectAttachmentParts(); 273 QVector<MessagePartPtr> collectAttachmentParts();
274
275 /** Decrypt parts and verify signatures */
286 void decryptParts(); 276 void decryptParts();
277
278 /** Import any certificates found in the message */
287 void importCertificates(); 279 void importCertificates();
288 280
289 /** Embedd content referenced by cid by inlining */ 281 /** Embedd content referenced by cid by inlining */