projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce feature flag for remote disconnecting
[quassel.git]
/
src
/
uisupport
/
uistyle.h
diff --git
a/src/uisupport/uistyle.h
b/src/uisupport/uistyle.h
index
030c1ac
..
d565e5b
100644
(file)
--- 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);
* @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
/**
* 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 _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;
static bool _showSenderBrackets; /// If true, show brackets around sender names
QIcon _channelJoinedIcon;