diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-04 15:21:05 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-04 15:21:05 +0200 |
commit | 964f0003584a0b745045db75ca6184f54eddd859 (patch) | |
tree | 1019133d8c4a48cc90bb9c9091d626bc58e05cca /framework/src/domain/mime/mimetreeparser/messagepart.h | |
parent | e452707fdfbd61be1e5633b516b653b7337e7865 (diff) | |
download | kube-964f0003584a0b745045db75ca6184f54eddd859.tar.gz kube-964f0003584a0b745045db75ca6184f54eddd859.zip |
Rely on isAttachment to collect attachments
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/messagepart.h')
-rw-r--r-- | framework/src/domain/mime/mimetreeparser/messagepart.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/messagepart.h b/framework/src/domain/mime/mimetreeparser/messagepart.h index 04fb30c3..0c206210 100644 --- a/framework/src/domain/mime/mimetreeparser/messagepart.h +++ b/framework/src/domain/mime/mimetreeparser/messagepart.h | |||
@@ -83,7 +83,7 @@ public: | |||
83 | 83 | ||
84 | virtual QString text() const; | 84 | virtual QString text() const; |
85 | void setText(const QString &text); | 85 | void setText(const QString &text); |
86 | bool isAttachment() const; | 86 | virtual bool isAttachment() const; |
87 | 87 | ||
88 | void setIsRoot(bool root); | 88 | void setIsRoot(bool root); |
89 | bool isRoot() const; | 89 | bool isRoot() const; |
@@ -196,6 +196,7 @@ public: | |||
196 | typedef QSharedPointer<AttachmentMessagePart> Ptr; | 196 | typedef QSharedPointer<AttachmentMessagePart> Ptr; |
197 | AttachmentMessagePart(MimeTreeParser::ObjectTreeParser *otp, KMime::Content *node); | 197 | AttachmentMessagePart(MimeTreeParser::ObjectTreeParser *otp, KMime::Content *node); |
198 | virtual ~AttachmentMessagePart(); | 198 | virtual ~AttachmentMessagePart(); |
199 | virtual bool isAttachment() const Q_DECL_OVERRIDE { return true; } | ||
199 | 200 | ||
200 | }; | 201 | }; |
201 | 202 | ||