aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-07-04 22:31:32 +0300
committerlink2xt <link2xt@testrun.org>2021-07-04 22:31:32 +0300
commit92de31840ed3ec7cc8ec90fe58b1955278a8acff (patch)
tree2f3ce4a997d93772cf2180afbb2a1fd8a71110fd /context.h
parent76b844bd6461d90f91a42fc02002accb694ec56d (diff)
downloadkdeltachat-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/context.h b/context.h
index aba3313..1b7abc2 100644
--- a/context.h
+++ b/context.h
@@ -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};