summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-21 17:05:26 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-21 17:05:26 +0100
commit791679c0d6ced13398109291155db7a7433e43b1 (patch)
tree9eb2849616950b1b2d95df98052815a18e101976 /framework
parenta846741b8bce911174c6b4b9becc7fcb9a83660c (diff)
downloadkube-791679c0d6ced13398109291155db7a7433e43b1.tar.gz
kube-791679c0d6ced13398109291155db7a7433e43b1.zip
Fixed build
Diffstat (limited to 'framework')
-rw-r--r--framework/mail/objecttreesource.cpp22
-rw-r--r--framework/mail/objecttreesource.h16
2 files changed, 19 insertions, 19 deletions
diff --git a/framework/mail/objecttreesource.cpp b/framework/mail/objecttreesource.cpp
index 8c155837..d14b7b9b 100644
--- a/framework/mail/objecttreesource.cpp
+++ b/framework/mail/objecttreesource.cpp
@@ -68,7 +68,7 @@ MessageViewer::CSSHelperBase *ObjectTreeSource::cssHelper()
68 return d->mCSSHelper; 68 return d->mCSSHelper;
69} 69}
70 70
71bool ObjectTreeSource::htmlLoadExternal() 71bool ObjectTreeSource::htmlLoadExternal() const
72{ 72{
73 return d->mHtmlLoadExternal; 73 return d->mHtmlLoadExternal;
74} 74}
@@ -78,7 +78,7 @@ void ObjectTreeSource::setHtmlLoadExternal(bool loadExternal)
78 d->mHtmlLoadExternal = loadExternal; 78 d->mHtmlLoadExternal = loadExternal;
79} 79}
80 80
81bool ObjectTreeSource::htmlMail() 81bool ObjectTreeSource::htmlMail() const
82{ 82{
83 return d->mHtmlMail; 83 return d->mHtmlMail;
84} 84}
@@ -88,17 +88,17 @@ void ObjectTreeSource::setHtmlMail(bool htmlMail)
88 d->mHtmlMail = htmlMail; 88 d->mHtmlMail = htmlMail;
89} 89}
90 90
91bool ObjectTreeSource::decryptMessage() 91bool ObjectTreeSource::decryptMessage() const
92{ 92{
93 return d->mAllowDecryption; 93 return d->mAllowDecryption;
94} 94}
95 95
96bool ObjectTreeSource::showSignatureDetails() 96bool ObjectTreeSource::showSignatureDetails() const
97{ 97{
98 return true; 98 return true;
99} 99}
100 100
101int ObjectTreeSource::levelQuote() 101int ObjectTreeSource::levelQuote() const
102{ 102{
103 return 1; 103 return 1;
104} 104}
@@ -108,7 +108,7 @@ const QTextCodec *ObjectTreeSource::overrideCodec()
108 return Q_NULLPTR; 108 return Q_NULLPTR;
109} 109}
110 110
111QString ObjectTreeSource::createMessageHeader(KMime::Message *message) 111QString ObjectTreeSource::createMessageHeader(KMime::Message *message)
112{ 112{
113 return QString(); 113 return QString();
114} 114}
@@ -118,7 +118,7 @@ const MessageViewer::AttachmentStrategy *ObjectTreeSource::attachmentStrategy()
118 return MessageViewer::AttachmentStrategy::smart(); 118 return MessageViewer::AttachmentStrategy::smart();
119} 119}
120 120
121QObject *ObjectTreeSource::sourceObject() 121QObject *ObjectTreeSource::sourceObject()
122{ 122{
123 return Q_NULLPTR; 123 return Q_NULLPTR;
124} 124}
@@ -128,17 +128,17 @@ void ObjectTreeSource::setHtmlMode(MessageViewer::Util::HtmlMode mode)
128 Q_UNUSED(mode); 128 Q_UNUSED(mode);
129} 129}
130 130
131bool ObjectTreeSource::autoImportKeys() 131bool ObjectTreeSource::autoImportKeys() const
132{ 132{
133 return false; 133 return false;
134} 134}
135 135
136bool ObjectTreeSource::showEmoticons() 136bool ObjectTreeSource::showEmoticons() const
137{ 137{
138 return false; 138 return false;
139} 139}
140 140
141bool ObjectTreeSource::showExpandQuotesMark() 141bool ObjectTreeSource::showExpandQuotesMark() const
142{ 142{
143 return false; 143 return false;
144} \ No newline at end of file 144}
diff --git a/framework/mail/objecttreesource.h b/framework/mail/objecttreesource.h
index 4823999f..db14e3ff 100644
--- a/framework/mail/objecttreesource.h
+++ b/framework/mail/objecttreesource.h
@@ -33,22 +33,22 @@ public:
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);
36 bool htmlMail() Q_DECL_OVERRIDE; 36 bool htmlMail() const Q_DECL_OVERRIDE;
37 bool decryptMessage() Q_DECL_OVERRIDE; 37 bool decryptMessage() const Q_DECL_OVERRIDE;
38 bool htmlLoadExternal() Q_DECL_OVERRIDE; 38 bool htmlLoadExternal() const Q_DECL_OVERRIDE;
39 bool showSignatureDetails() Q_DECL_OVERRIDE; 39 bool showSignatureDetails() const Q_DECL_OVERRIDE;
40 void setHtmlMode(MessageViewer::Util::HtmlMode mode) Q_DECL_OVERRIDE; 40 void setHtmlMode(MessageViewer::Util::HtmlMode mode) Q_DECL_OVERRIDE;
41 void setAllowDecryption(bool allowDecryption); 41 void setAllowDecryption(bool allowDecryption);
42 int levelQuote() 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 MessageViewer::AttachmentStrategy *attachmentStrategy() Q_DECL_OVERRIDE;
46 MessageViewer::HtmlWriter *htmlWriter() Q_DECL_OVERRIDE; 46 MessageViewer::HtmlWriter *htmlWriter() Q_DECL_OVERRIDE;
47 MessageViewer::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE; 47 MessageViewer::CSSHelperBase *cssHelper() Q_DECL_OVERRIDE;
48 QObject *sourceObject() Q_DECL_OVERRIDE; 48 QObject *sourceObject() Q_DECL_OVERRIDE;
49 bool autoImportKeys() Q_DECL_OVERRIDE; 49 bool autoImportKeys() const Q_DECL_OVERRIDE;
50 bool showEmoticons() Q_DECL_OVERRIDE; 50 bool showEmoticons() const Q_DECL_OVERRIDE;
51 bool showExpandQuotesMark() Q_DECL_OVERRIDE; 51 bool showExpandQuotesMark() const Q_DECL_OVERRIDE;
52private: 52private:
53 ObjectSourcePrivate *const d; 53 ObjectSourcePrivate *const d;
54}; 54};