summaryrefslogtreecommitdiff
path: root/src/svg/qgraphicssvgitem.h
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2017-09-24 23:55:03 +0200
committerKevin Funk <kevin.funk@kdab.com>2017-09-27 08:38:45 +0000
commit4dd6b2bfebf02223ef498bf52ce354c628cc9607 (patch)
tree3113e61bf02f61a0534b4ca1cb030d9939554fd4 /src/svg/qgraphicssvgitem.h
parent25634633c956e9dce32239fb776346f93d1a9301 (diff)
downloadqtsvg-4dd6b2bfebf02223ef498bf52ce354c628cc9607.tar.gz
Replace Q_NULLPTR with nullptr
Change-Id: Ibaae1afa39414a951a57c36037fa3b951654329f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/svg/qgraphicssvgitem.h')
-rw-r--r--src/svg/qgraphicssvgitem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svg/qgraphicssvgitem.h b/src/svg/qgraphicssvgitem.h
index e849f7a..5102b91 100644
--- a/src/svg/qgraphicssvgitem.h
+++ b/src/svg/qgraphicssvgitem.h
@@ -61,8 +61,8 @@ class Q_SVG_EXPORT QGraphicsSvgItem : public QGraphicsObject
Q_PROPERTY(QSize maximumCacheSize READ maximumCacheSize WRITE setMaximumCacheSize)
public:
- QGraphicsSvgItem(QGraphicsItem *parentItem = Q_NULLPTR);
- QGraphicsSvgItem(const QString &fileName, QGraphicsItem *parentItem = Q_NULLPTR);
+ QGraphicsSvgItem(QGraphicsItem *parentItem = nullptr);
+ QGraphicsSvgItem(const QString &fileName, QGraphicsItem *parentItem = nullptr);
void setSharedRenderer(QSvgRenderer *renderer);
QSvgRenderer *renderer() const;
@@ -80,7 +80,7 @@ public:
void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
- QWidget *widget = Q_NULLPTR) override;
+ QWidget *widget = nullptr) override;
enum { Type = 13 };
int type() const override;