diff options
author | link2xt <link2xt@testrun.org> | 2021-08-28 12:03:50 +0000 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-08-28 15:05:39 +0300 |
commit | e3b1f014df55f08f557667919d271f079f5f492f (patch) | |
tree | ddec47a41a69cb3f994756fa52d789571e40a702 /message.h | |
parent | 6d2fc32a423b7b470521c67d94d9b59c168a948f (diff) | |
download | kdeltachat-e3b1f014df55f08f557667919d271f079f5f492f.tar.gz kdeltachat-e3b1f014df55f08f557667919d271f079f5f492f.zip |
Add padlock and bot icons to messages, improve layout
Diffstat (limited to 'message.h')
-rw-r--r-- | message.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,8 @@ class DcMessage : public QObject { Q_PROPERTY(QString filename READ getFilename CONSTANT) Q_PROPERTY(int width READ getWidth CONSTANT) Q_PROPERTY(int height READ getHeight CONSTANT) + Q_PROPERTY(bool showPadlock READ getShowPadlock CONSTANT) + Q_PROPERTY(bool isBot READ getIsBot CONSTANT) Q_PROPERTY(bool isInfo READ isInfo CONSTANT) Q_PROPERTY(QString quotedText READ getQuotedText CONSTANT) Q_PROPERTY(DcMessage *quotedMessage READ getQuotedMessage CONSTANT) @@ -53,6 +55,7 @@ public: int getHeight(); //int getDuration(); bool getShowPadlock(); + bool getIsBot(); //uint32_t getEphemeralTimer(); //int64_t getEphemeralTimestamp(); //... getsummary ... |