X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatmonitorview.h;h=464c6d50314e5b89798de809897d5c2f7663ba2c;hp=06f1f1511516ea9d33da043d2be3e33c2877b686;hb=f04db2cb802b1296ca739c823495930c71d3b4ab;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/qtui/chatmonitorview.h b/src/qtui/chatmonitorview.h index 06f1f151..464c6d50 100644 --- a/src/qtui/chatmonitorview.h +++ b/src/qtui/chatmonitorview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2013 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,22 +25,28 @@ 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); protected: - virtual void addActionsToMenu(QMenu *menu, const QPointF &pos); - virtual void mouseDoubleClickEvent(QMouseEvent *event); + virtual void addActionsToMenu(QMenu *menu, const QPointF &pos); + virtual void mouseDoubleClickEvent(QMouseEvent *event); private slots: - void showFieldsChanged(bool checked); - void showSettingsPage(); + 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