aboutsummaryrefslogtreecommitdiff
path: root/message.h
diff options
context:
space:
mode:
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();
};