Fixes #410 - away log (you'll find it in the views menu)
[quassel.git] / src / qtui / chatmonitorview.h
index 5bb0eb0..f238f7b 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  *
@@ -32,12 +32,16 @@ public:
   ChatMonitorView(ChatMonitorFilter *filter, QWidget *parent);
 
 protected:
-  virtual void contextMenuEvent(QContextMenuEvent *event);
+  virtual void addActionsToMenu(QMenu *menu, const QPointF &pos);
   virtual void mouseDoubleClickEvent(QMouseEvent *event);
 
 private slots:
   void showFieldsChanged(bool checked);
-    
+  void showSettingsPage();
+
+protected:
+  inline ChatMonitorFilter *filter() const { return _filter; }
+
 private:
   ChatMonitorFilter *_filter;
 };