X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Fuistyle.h;h=f031085ef894fcfbec172a15432dc3f5fb722d17;hb=0cbdf2e324edc5f6ec3cee3842ee6b1830a57e23;hp=22ade27a02ea7355617bee9e0aeddddef3faf53c;hpb=2c16b8e356817cb4a4bf7fcd59c0c7429b0100e1;p=quassel.git 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);