X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;fp=src%2Fqtui%2Fbufferwidget.h;h=3549495726917d2a0ded6755701172070997c6dd;hp=e467ecc4bd4c592f67b49feb43818b46559b96f8;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hpb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index e467ecc4..35494957 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -35,9 +35,9 @@ class BufferWidget : public AbstractBufferContainer public: BufferWidget(QWidget *parent); - ~BufferWidget(); + ~BufferWidget() override; - virtual bool eventFilter(QObject *watched, QEvent *event); + bool eventFilter(QObject *watched, QEvent *event) override; inline ChatViewSearchBar *searchBar() const { return ui.searchBar; } void addActionsToMenu(QMenu *, const QPointF &pos); @@ -48,13 +48,13 @@ public slots: virtual void jumpToMarkerLine(ChatView *view = nullptr, bool requestBacklog = true); protected: - virtual AbstractChatView *createChatView(BufferId); - virtual void removeChatView(BufferId); - virtual inline bool autoMarkerLine() const { return _autoMarkerLine; } + AbstractChatView *createChatView(BufferId) override; + void removeChatView(BufferId) override; + inline bool autoMarkerLine() const override { return _autoMarkerLine; } protected slots: - virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); - virtual void showChatView(BufferId); + void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override; + void showChatView(BufferId) override; private slots: void scrollToHighlight(QGraphicsItem *highlightItem);