From 73ebfd5e795743650f2b1fe32734ad2f36d6a6df Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 19 Feb 2021 04:30:03 +0300 Subject: Implement Context::setConfig() --- context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'context.h') diff --git a/context.h b/context.h index 5bd043d..eda080a 100644 --- a/context.h +++ b/context.h @@ -32,6 +32,7 @@ public: Q_INVOKABLE DcContact *getContact(uint32_t contactId); Q_INVOKABLE uint32_t sendTextMessage(uint32_t chatId, QString textToSend); QString getBlobdir(); + Q_INVOKABLE bool setConfig(QString key, QString value); Q_INVOKABLE QString getConfig(QString key); Q_INVOKABLE QString getMessageInfo(uint32_t msgId); -- cgit v1.2.3-70-g09d2