X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatmonitorview.h;h=05c6e4ed3975ca34a791555ec7ad8addedc6ec03;hp=8a0124138c70eb08aa38bfd799af8b858002221a;hb=f9efdde7f3a6004af8f834c409cfa6ae1d877692;hpb=16e4a21c1292448c1a524010d70f6e59b84802f4 diff --git a/src/qtui/chatmonitorview.h b/src/qtui/chatmonitorview.h index 8a012413..05c6e4ed 100644 --- a/src/qtui/chatmonitorview.h +++ b/src/qtui/chatmonitorview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 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 * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef CHATMONITORVIEW_H @@ -25,21 +25,29 @@ class ChatMonitorFilter; -class ChatMonitorView : public ChatView { - Q_OBJECT +class ChatMonitorView : public ChatView +{ + Q_OBJECT public: - ChatMonitorView(ChatMonitorFilter *filter, QWidget *parent); + ChatMonitorView(ChatMonitorFilter *filter, QWidget *parent); + + void showFieldsChanged(bool checked); protected: - virtual void addActionsToMenu(QMenu *menu, const QPointF &pos); - virtual void mouseDoubleClickEvent(QMouseEvent *event); + void addActionsToMenu(QMenu *menu, const QPointF &pos) override; + void mouseDoubleClickEvent(QMouseEvent *event) override; private slots: - void showFieldsChanged(bool checked); + void showSettingsPage(); + virtual void coreConnectionStateChanged(bool connected); + +protected: + inline ChatMonitorFilter *filter() const { return _filter; } private: - ChatMonitorFilter *_filter; + ChatMonitorFilter *_filter; }; + #endif //CHATMONITORVIEW_H