X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmarkerlineitem.h;h=c77f82c31cb00ea25bda65f1b5abc651b0f0082d;hp=6c87de93757b533311c32006e6f384e418a94940;hb=900cce213a6ed000b7131a05a0dec7d04b35b023;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/qtui/markerlineitem.h b/src/qtui/markerlineitem.h index 6c87de93..c77f82c3 100644 --- a/src/qtui/markerlineitem.h +++ b/src/qtui/markerlineitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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; }