summaryrefslogtreecommitdiffstats
path: root/framework/domain/objecttreesource.h
diff options
context:
space:
mode:
authorSandro Knauß <sknauss@kde.org>2016-03-29 14:04:40 +0200
committerSandro Knauß <sknauss@kde.org>2016-03-29 14:04:40 +0200
commit0cb9c3d4632819a681c1a7eae2f985dff92db9f7 (patch)
treee9ae5177f1051b27c1f8e4d3e70656e5cf3d4e70 /framework/domain/objecttreesource.h
parent5b253b3a5da0829fa9b8f54f26a7f8f6f450c6e9 (diff)
downloadkube-0cb9c3d4632819a681c1a7eae2f985dff92db9f7.tar.gz
kube-0cb9c3d4632819a681c1a7eae2f985dff92db9f7.zip
Adapt the move from Otp -> MimeTreeParser
Diffstat (limited to 'framework/domain/objecttreesource.h')
-rw-r--r--framework/domain/objecttreesource.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/framework/domain/objecttreesource.h b/framework/domain/objecttreesource.h
index db14e3ff..bdd9b2ba 100644
--- a/framework/domain/objecttreesource.h
+++ b/framework/domain/objecttreesource.h
@@ -20,16 +20,16 @@
20#ifndef MAILVIEWER_OBJECTTREEEMPTYSOURCE_H 20#ifndef MAILVIEWER_OBJECTTREEEMPTYSOURCE_H
21#define MAILVIEWER_OBJECTTREEEMPTYSOURCE_H 21#define MAILVIEWER_OBJECTTREEEMPTYSOURCE_H
22 22
23#include <MessageViewer/ObjectTreeSourceIf> 23#include <MimeTreeParser/ObjectTreeSourceIf>
24 24
25class QString; 25class QString;
26 26
27class ObjectSourcePrivate; 27class ObjectSourcePrivate;
28class ObjectTreeSource : public MessageViewer::ObjectTreeSourceIf 28class ObjectTreeSource : public MimeTreeParser::ObjectTreeSourceIf
29{ 29{
30public: 30public:
31 ObjectTreeSource(MessageViewer::HtmlWriter *writer, 31 ObjectTreeSource(MimeTreeParser::HtmlWriter *writer,
32 MessageViewer::CSSHelperBase *cssHelper); 32 MimeTreeParser::CSSHelperBase *cssHelper);
33 virtual ~ObjectTreeSource(); 33 virtual ~ObjectTreeSource();
34 void setHtmlLoadExternal(bool loadExternal); 34 void setHtmlLoadExternal(bool loadExternal);
35 void setHtmlMail(bool htmlMail); 35 void setHtmlMail(bool htmlMail);
@@ -37,18 +37,19 @@ public:
37 bool decryptMessage() const Q_DECL_OVERRIDE; 37 bool decryptMessage() const Q_DECL_OVERRIDE;
38 bool htmlLoadExternal() const Q_DECL_OVERRIDE; 38 bool htmlLoadExternal() const Q_DECL_OVERRIDE;
39 bool showSignatureDetails() const Q_DECL_OVERRIDE; 39 bool showSignatureDetails() const Q_DECL_OVERRIDE;
40 void setHtmlMode(MessageViewer::Util::HtmlMode mode) Q_DECL_OVERRIDE; 40 void setHtmlMode(MimeTreeParser::Util::HtmlMode mode) Q_DECL_OVERRIDE;
41 void setAllowDecryption(bool allowDecryption); 41 void setAllowDecryption(bool allowDecryption);
42 int levelQuote() const Q_DECL_OVERRIDE; 42 int levelQuote() const Q_DECL_OVERRIDE;
43 const QTextCodec *overrideCodec() Q_DECL_OVERRIDE; 43 const QTextCodec *overrideCodec() Q_DECL_OVERRIDE;
44 QString createMessageHeader(KMime::Message *message) Q_DECL_OVERRIDE; 44 QString createMessageHeader(KMime::Message *message) Q_DECL_OVERRIDE;
45 const MessageViewer::AttachmentStrategy *attachmentStrategy() Q_DECL_OVERRIDE; 45 const MimeTreeParser::AttachmentStrategy *attachmentStrategy() Q_DECL_OVERRIDE;
46 MessageViewer::HtmlWriter *htmlWriter() Q_DECL_OVERRIDE; 46 MimeTreeParser::HtmlWriter *htmlWriter() Q_DECL_OVERRIDE;
47 MessageViewer::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE; 47 MimeTreeParser::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE;
48 QObject *sourceObject() Q_DECL_OVERRIDE; 48 QObject *sourceObject() Q_DECL_OVERRIDE;
49 bool autoImportKeys() const Q_DECL_OVERRIDE; 49 bool autoImportKeys() const Q_DECL_OVERRIDE;
50 bool showEmoticons() const Q_DECL_OVERRIDE; 50 bool showEmoticons() const Q_DECL_OVERRIDE;
51 bool showExpandQuotesMark() const Q_DECL_OVERRIDE; 51 bool showExpandQuotesMark() const Q_DECL_OVERRIDE;
52 const MimeTreeParser::BodyPartFormatterBaseFactory *bodyPartFormatterFactory() Q_DECL_OVERRIDE;
52private: 53private:
53 ObjectSourcePrivate *const d; 54 ObjectSourcePrivate *const d;
54}; 55};