From 6d4f7413b44821bd3054dd0fcfea10449c5585e4 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 14 Mar 2021 02:06:11 +0300 Subject: Add colored border to quotes --- message.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'message.h') diff --git a/message.h b/message.h index f8ab1e9..d9f4253 100644 --- a/message.h +++ b/message.h @@ -18,6 +18,7 @@ class DcMessage : public QObject { Q_PROPERTY(int height READ getHeight CONSTANT) Q_PROPERTY(bool isInfo READ isInfo CONSTANT) Q_PROPERTY(QString quotedText READ getQuotedText CONSTANT) + Q_PROPERTY(DcMessage *quotedMessage READ getQuotedMessage CONSTANT) dc_msg_t *m_message{nullptr}; public: @@ -55,4 +56,5 @@ public: //isIncreation //isSetupmessage Q_INVOKABLE QString getQuotedText(); + Q_INVOKABLE DcMessage *getQuotedMessage(); }; -- cgit v1.2.3-70-g09d2