X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fbufferwidget.h;h=3549495726917d2a0ded6755701172070997c6dd;hb=a0e333e994dce2d949a84930293382020e724596;hp=f5f5c3fef7e4a877383be621e64efac6981cfde1;hpb=92fc8c5b119111a35ab8423c3cbde5b2a022badf;p=quassel.git diff --git a/src/qtui/bufferwidget.h b/src/qtui/bufferwidget.h index f5f5c3fe..35494957 100644 --- a/src/qtui/bufferwidget.h +++ b/src/qtui/bufferwidget.h @@ -35,26 +35,26 @@ 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); virtual inline bool autoMarkerLineOnLostFocus() const { return _autoMarkerLineOnLostFocus; } public slots: - virtual void setMarkerLine(ChatView *view = 0, bool allowGoingBack = true); - virtual void jumpToMarkerLine(ChatView *view = 0, bool requestBacklog = true); + virtual void setMarkerLine(ChatView *view = nullptr, bool allowGoingBack = true); + 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);