diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-10-20 12:48:09 +0100 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-10-27 09:16:28 +0300 |
commit | 1a8b1d4dfb1af936ec68b30af475dcfbeff6453c (patch) | |
tree | 88035de2469c17329bd652b4c35d06bc6cee9e79 /message.h | |
parent | 9b329f6eaaa178b74c32b64977f5344d14de3a3e (diff) | |
download | kdeltachat-1a8b1d4dfb1af936ec68b30af475dcfbeff6453c.tar.gz kdeltachat-1a8b1d4dfb1af936ec68b30af475dcfbeff6453c.zip |
Implement saving attachment to filesystem
Diffstat (limited to 'message.h')
-rw-r--r-- | message.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |