diff options
-rw-r--r-- | src/svg/qgraphicssvgitem.h | 6 | ||||
-rw-r--r-- | src/svg/qsvgrenderer.h | 8 | ||||
-rw-r--r-- | src/svg/qsvgwidget.h | 4 |
3 files changed, 9 insertions, 9 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; diff --git a/src/svg/qsvgrenderer.h b/src/svg/qsvgrenderer.h index 6538df0..4413509 100644 --- a/src/svg/qsvgrenderer.h +++ b/src/svg/qsvgrenderer.h @@ -65,10 +65,10 @@ class Q_SVG_EXPORT QSvgRenderer : public QObject Q_PROPERTY(int framesPerSecond READ framesPerSecond WRITE setFramesPerSecond) Q_PROPERTY(int currentFrame READ currentFrame WRITE setCurrentFrame) public: - QSvgRenderer(QObject *parent = Q_NULLPTR); - QSvgRenderer(const QString &filename, QObject *parent = Q_NULLPTR); - QSvgRenderer(const QByteArray &contents, QObject *parent = Q_NULLPTR); - QSvgRenderer(QXmlStreamReader *contents, QObject *parent = Q_NULLPTR); + QSvgRenderer(QObject *parent = nullptr); + QSvgRenderer(const QString &filename, QObject *parent = nullptr); + QSvgRenderer(const QByteArray &contents, QObject *parent = nullptr); + QSvgRenderer(QXmlStreamReader *contents, QObject *parent = nullptr); ~QSvgRenderer(); bool isValid() const; diff --git a/src/svg/qsvgwidget.h b/src/svg/qsvgwidget.h index 107c64d..8f6dd44 100644 --- a/src/svg/qsvgwidget.h +++ b/src/svg/qsvgwidget.h @@ -59,8 +59,8 @@ class Q_SVG_EXPORT QSvgWidget : public QWidget { Q_OBJECT public: - QSvgWidget(QWidget *parent = Q_NULLPTR); - QSvgWidget(const QString &file, QWidget *parent = Q_NULLPTR); + QSvgWidget(QWidget *parent = nullptr); + QSvgWidget(const QString &file, QWidget *parent = nullptr); ~QSvgWidget(); QSvgRenderer *renderer() const; |