diff options
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 | ||