aboutsummaryrefslogtreecommitdiff
path: root/message.h
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2020-10-12 01:06:11 +0300
committerlink2xt <link2xt@testrun.org>2020-10-12 01:06:11 +0300
commitc02c9dbb15af7598994edbcb7e13eb937bce1e6a (patch)
treeb4eaa6cb76b83877e55eed2443fbab1d381ea023 /message.h
parent6b6a96a520d2a33584f9a0220da8874af5012c8b (diff)
downloadkdeltachat-c02c9dbb15af7598994edbcb7e13eb937bce1e6a.tar.gz
kdeltachat-c02c9dbb15af7598994edbcb7e13eb937bce1e6a.zip
Add basic quoting support
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 bda3108..6405cc6 100644
--- a/message.h
+++ b/message.h
@@ -17,6 +17,7 @@ class DcMessage : public QObject {
Q_PROPERTY(int width READ getWidth CONSTANT)
Q_PROPERTY(int height READ getHeight CONSTANT)
Q_PROPERTY(bool isInfo READ isInfo CONSTANT)
+ Q_PROPERTY(QString quotedText READ getQuotedText CONSTANT)
dc_msg_t *m_message{nullptr};
public:
@@ -52,4 +53,5 @@ public:
bool isInfo();
//isIncreation
//isSetupmessage
+ Q_INVOKABLE QString getQuotedText();
};