X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsettings.h;h=06fb54777325aa7c6279db49b189ca9e8501556e;hb=68ba16b2340ed20508bb7789c51b700b562f2392;hp=b727ab8a3da18331040f7ba80a053b36d42e5c18;hpb=27fe4e6f46547c45d19fa39c175fa2104a5feb28;p=quassel.git diff --git a/src/qtui/chatviewsettings.h b/src/qtui/chatviewsettings.h index b727ab8a..06fb5477 100644 --- a/src/qtui/chatviewsettings.h +++ b/src/qtui/chatviewsettings.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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 *