X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.h;h=f031085ef894fcfbec172a15432dc3f5fb722d17;hp=22ade27a02ea7355617bee9e0aeddddef3faf53c;hb=2b5d210cb6e61a25a6a9d0c119aec025322b3b84;hpb=03976b69a41261782602d745805a178d8f3f1dc9 diff --git a/src/uisupport/uistyle.h b/src/uisupport/uistyle.h index 22ade27a..f031085e 100644 --- a/src/uisupport/uistyle.h +++ b/src/uisupport/uistyle.h @@ -148,6 +148,9 @@ public: inline FormatType timestampFormat() const { return UiStyle::Timestamp; } FormatType senderFormat() const; const FormatList &contentsFormatList() const; + + quint8 senderHash() const; + protected: //! Styling is only needed for calls to plainContents() and contentsFormatList() void style() const; @@ -155,6 +158,7 @@ protected: private: mutable StyledString _contents; + mutable quint8 _senderHash; }; QDataStream &operator<<(QDataStream &out, const UiStyle::FormatList &formatList);