X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.h;fp=src%2Fuisupport%2Fuistyle.h;h=d565e5b8b3ad11772ce760170ee5c66e03b6459b;hp=030c1ac145314d02bb1b01d1f6565709fb821f60;hb=53861faa5551606eea31588b65ba501b24fb2e1a;hpb=30fa961d1aca319b52071ad9d6e4527ea2638fb7 diff --git a/src/uisupport/uistyle.h b/src/uisupport/uistyle.h index 030c1ac1..d565e5b8 100644 --- a/src/uisupport/uistyle.h +++ b/src/uisupport/uistyle.h @@ -284,6 +284,12 @@ protected: * @param[in] format Timestamp format string */ static void setTimestampFormatString(const QString &format); + /** + * Updates the local setting cache of whether or not to show sender prefixmodes + * + * @param[in] enabled If true, sender prefixmodes are enabled, otherwise false. + */ + static void enableSenderPrefixes(bool enabled); /** * Updates the local setting cache of whether or not to show sender brackets @@ -309,6 +315,7 @@ private: static bool _useCustomTimestampFormat; /// If true, use the custom timestamp format static QString _systemTimestampFormatString; /// Cached copy of system locale timestamp format static QString _timestampFormatString; /// Timestamp format string + static bool _showSenderPrefixes; /// If true, show prefixmodes before sender names static bool _showSenderBrackets; /// If true, show brackets around sender names QIcon _channelJoinedIcon;