aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-01 00:21:55 +0300
committerlink2xt <link2xt@testrun.org>2021-03-01 00:21:55 +0300
commit88d351d4a271fa13f5ca43be01ab14267f04366a (patch)
tree790a2f95f3e0a3e0e9ad970b5834f6667c954c83 /context.h
parent3931e2843bd01740a861e98c39cd8f133867b989 (diff)
downloadkdeltachat-88d351d4a271fa13f5ca43be01ab14267f04366a.tar.gz
kdeltachat-88d351d4a271fa13f5ca43be01ab14267f04366a.zip
Implement more context methods
Diffstat (limited to 'context.h')
-rw-r--r--context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/context.h b/context.h
index c62529e..c8d9691 100644
--- a/context.h
+++ b/context.h
@@ -26,6 +26,10 @@ public:
Q_INVOKABLE void stopIo();
Q_INVOKABLE void maybeNetwork();
Q_INVOKABLE DcChatlist *getChatlist();
+ Q_INVOKABLE void setChatVisibility(uint32_t chatId, int visibility);
+ Q_INVOKABLE void deleteChat(uint32_t chatId);
+ Q_INVOKABLE QString getChatEncrinfo(uint32_t chatId);
+ Q_INVOKABLE uint32_t getChatEphemeralTimer(uint32_t chatId);
Q_INVOKABLE DcChat *getChat(uint32_t chatId);
Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId);
Q_INVOKABLE int getFreshMsgCnt(uint32_t chatId);