X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fchatview.h;h=1aeffc78f195c33930ae2f168deb6c7299f68804;hb=158443f71d48215eea8b47b836b61afd77654b78;hp=8b50c55ea7b84340bebd38e5b2b845ba7212969f;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/qtui/chatview.h b/src/qtui/chatview.h index 8b50c55e..1aeffc78 100644 --- a/src/qtui/chatview.h +++ b/src/qtui/chatview.h @@ -39,10 +39,10 @@ class ChatView : public QGraphicsView, public AbstractChatView Q_OBJECT public: - ChatView(MessageFilter *, QWidget *parent = 0); - ChatView(BufferId bufferId, QWidget *parent = 0); + ChatView(MessageFilter *, QWidget *parent = nullptr); + ChatView(BufferId bufferId, QWidget *parent = nullptr); - virtual MsgId lastMsgId() const; + MsgId lastMsgId() const override; virtual MsgId lastVisibleMsgId() const; inline AbstractBufferContainer *bufferContainer() const { return _bufferContainer; } inline void setBufferContainer(AbstractBufferContainer *c) { _bufferContainer = c; } @@ -90,9 +90,9 @@ public slots: void jumpToMarkerLine(bool requestBacklog); protected: - virtual bool event(QEvent *event); - virtual void resizeEvent(QResizeEvent *event); - virtual void scrollContentsBy(int dx, int dy); + bool event(QEvent *event) override; + void resizeEvent(QResizeEvent *event) override; + void scrollContentsBy(int dx, int dy) override; protected slots: virtual void verticalScrollbarChanged(int);