aboutsummaryrefslogtreecommitdiff
path: root/message.h
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-10-20 12:48:09 +0100
committerlink2xt <link2xt@testrun.org>2021-10-27 09:16:28 +0300
commit1a8b1d4dfb1af936ec68b30af475dcfbeff6453c (patch)
tree88035de2469c17329bd652b4c35d06bc6cee9e79 /message.h
parent9b329f6eaaa178b74c32b64977f5344d14de3a3e (diff)
downloadkdeltachat-1a8b1d4dfb1af936ec68b30af475dcfbeff6453c.tar.gz
kdeltachat-1a8b1d4dfb1af936ec68b30af475dcfbeff6453c.zip
Implement saving attachment to filesystem
Diffstat (limited to 'message.h')
-rw-r--r--message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/message.h b/message.h
index 217bba4..5389124 100644
--- a/message.h
+++ b/message.h
@@ -2,6 +2,7 @@
#include <QDateTime>
#include <QObject>
+#include <QFile>
#include <deltachat.h>
@@ -44,6 +45,7 @@ public:
Q_INVOKABLE QDateTime getTimestamp();
//Q_INVOKABLE int64_t getReceivedTimestamp();
//Q_INVOKABLE int64_t getSortTimestamp();
+ Q_INVOKABLE bool saveAttach(QString);
Q_INVOKABLE void setText(QString);
Q_INVOKABLE void setFile(QString);
Q_INVOKABLE QString getText();