X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsettings.h;fp=src%2Fqtui%2Fchatviewsettings.h;h=a0f70f9d65b87826c3d2ca35e23ac03e2253388a;hp=b727ab8a3da18331040f7ba80a053b36d42e5c18;hb=53861faa5551606eea31588b65ba501b24fb2e1a;hpb=30fa961d1aca319b52071ad9d6e4527ea2638fb7 diff --git a/src/qtui/chatviewsettings.h b/src/qtui/chatviewsettings.h index b727ab8a..a0f70f9d 100644 --- a/src/qtui/chatviewsettings.h +++ b/src/qtui/chatviewsettings.h @@ -73,6 +73,13 @@ public: */ inline void setTimestampFormatString(const QString &format) { setLocalValue("TimestampFormat", format); } + /** + * Gets if prefixmodes are shown before sender names + * + * @returns True if sender prefixmodes enabled, otherwise false + */ + inline bool showSenderPrefixes() { return localValue("ShowSenderPrefixes", false).toBool(); } + /** * Gets if brackets are shown around sender names *