X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatmonitorview.h;h=f238f7b35d0e4ffd443db615130b368e9b5cc7cd;hp=5bb0eb04b5dc9d3de56fa411355ee19c595cecb2;hb=dcac65fc4beeb1167de8ebec5cc54608fc314fd3;hpb=3e85aa859e7533ec910f8b2efe4a8abd801d3a47 diff --git a/src/qtui/chatmonitorview.h b/src/qtui/chatmonitorview.h index 5bb0eb04..f238f7b3 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-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; };