X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatmonitorfilter.h;h=a3344d02e533c44beac4680fd3e83fb6e29dbb13;hp=52a9c0893f3de7a9b4bacba75d3257eaaad8ed2b;hb=b40672ab5c48b577b31371c159e60d330fdd7ce5;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/qtui/chatmonitorfilter.h b/src/qtui/chatmonitorfilter.h index 52a9c089..a3344d02 100644 --- a/src/qtui/chatmonitorfilter.h +++ b/src/qtui/chatmonitorfilter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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 * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CHATMONITORFILTER_H_ -#define CHATMONITORFILTER_H_ +#pragma once #include @@ -55,17 +54,27 @@ public slots: private slots: void showFieldsSettingChanged(const QVariant &newValue); void showOwnMessagesSettingChanged(const QVariant &newValue); + void alwaysOwnSettingChanged(const QVariant &newValue); void showHighlightsSettingChanged(const QVariant &newValue); void operationModeSettingChanged(const QVariant &newValue); void buffersSettingChanged(const QVariant &newValue); + void showBacklogSettingChanged(const QVariant &newValue); + void includeReadSettingChanged(const QVariant &newValue); + /** + * Updates the local setting cache of whether or not to show sender brackets + * + * @param[in] newValue If true, sender brackets are enabled, otherwise false. + */ + void showSenderBracketsSettingChanged(const QVariant &newValue); private: int _showFields; bool _showOwnMessages; + bool _alwaysOwn; QList _bufferIds; bool _showHighlights; int _operationMode; + bool _showBacklog; + bool _includeRead; + bool _showSenderBrackets; /// If true, show brackets around sender names }; - - -#endif