X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.h;h=c1742308266f875e9d3af50f1e097e4864ff6175;hp=7911dc7e95d658f655acfcb3ead3e6b06f3a95f8;hb=86bd6b1ffb870e65af6d830a2ea16471c348ed5a;hpb=55049803e1f4215cedaa30935eae4ca2aa5835d2 diff --git a/src/uisupport/uistyle.h b/src/uisupport/uistyle.h index 7911dc7e..c1742308 100644 --- a/src/uisupport/uistyle.h +++ b/src/uisupport/uistyle.h @@ -69,6 +69,9 @@ public: InfoMsg = 0x0000000c, ErrorMsg = 0x0000000d, DayChangeMsg = 0x0000000e, + TopicMsg = 0x0000000f, + NetsplitJoinMsg = 0x00000010, + NetsplitQuitMsg = 0x00000020, // Standard Formats Bold = 0x00000100, @@ -167,7 +170,8 @@ protected: QVariant itemData(int role, const QTextCharFormat &format) const; private slots: - void showUserStateIconsChanged(); + void allowMircColorsChanged(const QVariant &); + void showItemViewIconsChanged(const QVariant &); private: QVector _uiStylePalette; @@ -190,9 +194,12 @@ private: int _voiceIconLimit; bool _showNickViewIcons; bool _showBufferViewIcons; + bool _allowMircColors; }; class UiStyle::StyledMessage : public Message { + Q_DECLARE_TR_FUNCTIONS(UiStyle::StyledMessage) + public: explicit StyledMessage(const Message &message);