aboutsummaryrefslogtreecommitdiff
path: root/message.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-14 02:06:11 +0300
committerlink2xt <link2xt@testrun.org>2021-03-14 02:06:11 +0300
commit6d4f7413b44821bd3054dd0fcfea10449c5585e4 (patch)
tree5d76e81464579ee8d492dbbb7bf13f62b353c5fb /message.h
parenta812f5f4eaa48ccd4ac93092b16b99f4427d706f (diff)
downloadkdeltachat-6d4f7413b44821bd3054dd0fcfea10449c5585e4.tar.gz
kdeltachat-6d4f7413b44821bd3054dd0fcfea10449c5585e4.zip
Add colored border to quotes
Diffstat (limited to 'message.h')
-rw-r--r--message.h2
1 files changed, 2 insertions, 0 deletions
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();
};