aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending-qml/chapter6-plugins/import
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins/import')
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/import/piechart.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/import/pieslice.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/piechart.h b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/piechart.h
index e6b768b274..fbded1e3a2 100644
--- a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/piechart.h
@@ -62,7 +62,7 @@ class PieChart : public QQuickItem
QML_ELEMENT
public:
- PieChart(QQuickItem *parent = 0);
+ PieChart(QQuickItem *parent = nullptr);
QString name() const;
void setName(const QString &name);
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/pieslice.h b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/pieslice.h
index 091870bd51..c8c02a839a 100644
--- a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/pieslice.h
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/pieslice.h
@@ -62,7 +62,7 @@ class PieSlice : public QQuickPaintedItem
QML_ELEMENT
public:
- PieSlice(QQuickItem *parent = 0);
+ PieSlice(QQuickItem *parent = nullptr);
QColor color() const;
void setColor(const QColor &color);