aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-19 04:29:47 +0300
committerlink2xt <link2xt@testrun.org>2021-02-19 04:29:47 +0300
commit7bbdbbe7fbc95573876657bd483a729ae04a2717 (patch)
tree61aedac0174ad2a50a55297519074b039f556a14 /context.h
parent818e028807b80be0b3c5265c7b7ca7376e76acf1 (diff)
downloadkdeltachat-7bbdbbe7fbc95573876657bd483a729ae04a2717.tar.gz
kdeltachat-7bbdbbe7fbc95573876657bd483a729ae04a2717.zip
Context: implement startIo, stopIo and maybeNetwork
They are not supposed to be used as they can be called from account manager, just for completeness.
Diffstat (limited to 'context.h')
-rw-r--r--context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/context.h b/context.h
index 98c4196..5bd043d 100644
--- a/context.h
+++ b/context.h
@@ -22,6 +22,9 @@ public:
Q_INVOKABLE void configure();
Q_INVOKABLE bool isConfigured() const;
Q_INVOKABLE QString getInfo();
+ Q_INVOKABLE void startIo();
+ Q_INVOKABLE void stopIo();
+ Q_INVOKABLE void maybeNetwork();
Q_INVOKABLE DcChatlist *getChatlist();
Q_INVOKABLE DcChat *getChat(uint32_t chatId);
Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId);