X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fcolumnhandleitem.h;h=ef2636c95025af22233ce507c88640b597fc5d17;hp=b9846577e4d88ee280a236734f1f1187190823f3;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a diff --git a/src/qtui/columnhandleitem.h b/src/qtui/columnhandleitem.h index b9846577..ef2636c9 100644 --- a/src/qtui/columnhandleitem.h +++ b/src/qtui/columnhandleitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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 * @@ -33,7 +33,7 @@ class ColumnHandleItem : public QGraphicsObject Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity) public : - ColumnHandleItem(qreal width, QGraphicsItem *parent = 0); + ColumnHandleItem(qreal width, QGraphicsItem *parent = nullptr); virtual inline int type() const { return ChatScene::ColumnHandleType; } inline qreal width() const { return _width; } @@ -46,7 +46,7 @@ public : void setXPos(qreal xpos); void setXLimits(qreal min, qreal max); - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr); public slots: void sceneRectChanged(const QRectF &);