From acf2a53fea8fdbe366627e45fffe87434e3c2e7e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 24 May 2017 12:59:23 +0200 Subject: Attachment open and download buttons We'll need proper icons though. --- framework/src/domain/mime/messageparser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/src/domain/mime/messageparser.h') diff --git a/framework/src/domain/mime/messageparser.h b/framework/src/domain/mime/messageparser.h index 1f44b296..de72a025 100644 --- a/framework/src/domain/mime/messageparser.h +++ b/framework/src/domain/mime/messageparser.h @@ -112,6 +112,7 @@ public: int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; Q_INVOKABLE bool saveAttachmentToDisk(const QModelIndex &parent); + Q_INVOKABLE bool openAttachment(const QModelIndex &index); private: std::unique_ptr d; -- cgit v1.2.3