diff options
author | link2xt <link2xt@testrun.org> | 2021-07-28 10:41:54 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-08-01 16:53:15 +0300 |
commit | 9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1 (patch) | |
tree | 8613a74ee1ee5b5074e91ecb9b12a8081d34ade2 /context.h | |
parent | 4103ae47823671eaaf52d18b10cb6aaac0ea2d0d (diff) | |
download | kdeltachat-9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1.tar.gz kdeltachat-9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1.zip |
Add New Chat page
Diffstat (limited to 'context.h')
-rw-r--r-- | context.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |