X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmarkerlineitem.h;h=c77f82c31cb00ea25bda65f1b5abc651b0f0082d;hp=0981a0923a34f6e906c1b105a78301ee66204f46;hb=f9efdde7f3a6004af8f834c409cfa6ae1d877692;hpb=9d54503555534a2c554f09a33df6afa33d6308ec diff --git a/src/qtui/markerlineitem.h b/src/qtui/markerlineitem.h index 0981a092..c77f82c3 100644 --- a/src/qtui/markerlineitem.h +++ b/src/qtui/markerlineitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -32,11 +32,11 @@ class MarkerLineItem : public QGraphicsObject Q_OBJECT public: - MarkerLineItem(qreal sceneWidth, QGraphicsItem *parent = 0); - virtual inline int type() const { return ChatScene::MarkerLineType; } + MarkerLineItem(qreal sceneWidth, QGraphicsItem *parent = nullptr); + inline int type() const override { return ChatScene::MarkerLineType; } - inline QRectF boundingRect() const { return _boundingRect; } - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + inline QRectF boundingRect() const override { return _boundingRect; } + void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; inline ChatLine *chatLine() const { return _chatLine; }