diff options
author | link2xt <link2xt@testrun.org> | 2021-07-04 22:31:32 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-07-04 22:31:32 +0300 |
commit | 92de31840ed3ec7cc8ec90fe58b1955278a8acff (patch) | |
tree | 2f3ce4a997d93772cf2180afbb2a1fd8a71110fd /context.h | |
parent | 76b844bd6461d90f91a42fc02002accb694ec56d (diff) | |
download | kdeltachat-92de31840ed3ec7cc8ec90fe58b1955278a8acff.tar.gz kdeltachat-92de31840ed3ec7cc8ec90fe58b1955278a8acff.zip |
Replace Accounts.importAccount() with Context.importBackup()
dc_accounts_import_account() is going to be removed from the core.
Diffstat (limited to 'context.h')
-rw-r--r-- | context.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ public: Q_INVOKABLE QString getMessageHtml(uint32_t msgId); Q_INVOKABLE uint32_t decideOnContactRequest(uint32_t msgId, int decision); Q_INVOKABLE DcMessage *newMessage(int viewtype); + Q_INVOKABLE void importBackup(QString tarfile); private: dc_context_t *m_context{nullptr}; |