Reformat ALL the source!
[quassel.git] / src / qtui / chatmonitorview.h
index 8a01241..73e5045 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel Project                          *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
 
 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 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