aboutsummaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-07-28 10:41:54 +0300
committerlink2xt <link2xt@testrun.org>2021-08-01 16:53:15 +0300
commit9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1 (patch)
tree8613a74ee1ee5b5074e91ecb9b12a8081d34ade2 /context.h
parent4103ae47823671eaaf52d18b10cb6aaac0ea2d0d (diff)
downloadkdeltachat-9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1.tar.gz
kdeltachat-9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1.zip
Add New Chat page
Diffstat (limited to 'context.h')
-rw-r--r--context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/context.h b/context.h
index e183699..235bd28 100644
--- a/context.h
+++ b/context.h
@@ -27,6 +27,7 @@ public:
Q_INVOKABLE void stopIo();
Q_INVOKABLE void maybeNetwork();
Q_INVOKABLE DcChatlist *getChatlist(int flags);
+ Q_INVOKABLE uint32_t createChatByContactId(uint32_t contactId);
Q_INVOKABLE void setChatVisibility(uint32_t chatId, int visibility);
Q_INVOKABLE void deleteChat(uint32_t chatId);
Q_INVOKABLE void blockChat(uint32_t chatId);
@@ -34,6 +35,7 @@ public:
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 getContacts(uint32_t flags, QString query);
Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId);
Q_INVOKABLE int getFreshMsgCnt(uint32_t chatId);
Q_INVOKABLE void marknoticedChat(uint32_t chatId);