+public:
+ BufferWidget(QWidget *parent);
+ ~BufferWidget();
+
+ virtual bool eventFilter(QObject *watched, QEvent *event);
+
+ inline ChatViewSearchBar *searchBar() const { return ui.searchBar; }
+ void addActionsToMenu(QMenu *, const QPointF &pos);
+
+protected:
+ virtual AbstractChatView *createChatView(BufferId);
+ virtual void removeChatView(BufferId);
+
+protected slots:
+ virtual void showChatView(BufferId);