aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/qml/referenceexamples/attached/person.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter3-bindings/piechart.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/piechart.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/pieslice.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter5-listproperties/piechart.h2
-rw-r--r--examples/qml/tutorials/extending-qml/chapter5-listproperties/pieslice.h2
-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
-rw-r--r--examples/quick/customitems/maskedmousearea/maskedmousearea.h2
-rw-r--r--examples/quick/customitems/painteditem/textballoon.h2
-rw-r--r--examples/quick/quickwidgets/qquickviewcomparison/fbitem.h2
-rw-r--r--examples/quick/scenegraph/customgeometry/beziercurve.h2
14 files changed, 14 insertions, 14 deletions
diff --git a/examples/qml/referenceexamples/attached/person.h b/examples/qml/referenceexamples/attached/person.h
index 239f4405c0..7283f39f61 100644
--- a/examples/qml/referenceexamples/attached/person.h
+++ b/examples/qml/referenceexamples/attached/person.h
@@ -63,7 +63,7 @@ class ShoeDescription : public QObject
Q_PROPERTY(qreal price READ price WRITE setPrice)
QML_ANONYMOUS
public:
- ShoeDescription(QObject *parent = 0);
+ ShoeDescription(QObject *parent = nullptr);
int size() const;
void setSize(int);
diff --git a/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h b/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h
index 687f8e2b4d..b2a0f60893 100644
--- a/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter1-basics/piechart.h
@@ -62,7 +62,7 @@ class PieChart : public QQuickPaintedItem
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/chapter2-methods/piechart.h b/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h
index 271afbf653..ca5bede67f 100644
--- a/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter2-methods/piechart.h
@@ -65,7 +65,7 @@ class PieChart : public QQuickPaintedItem
public:
//![1]
- PieChart(QQuickItem *parent = 0);
+ PieChart(QQuickItem *parent = nullptr);
QString name() const;
void setName(const QString &name);
diff --git a/examples/qml/tutorials/extending-qml/chapter3-bindings/piechart.h b/examples/qml/tutorials/extending-qml/chapter3-bindings/piechart.h
index 58b1339298..5ff895b6b6 100644
--- a/examples/qml/tutorials/extending-qml/chapter3-bindings/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter3-bindings/piechart.h
@@ -66,7 +66,7 @@ class PieChart : public QQuickPaintedItem
public:
//![1]
- PieChart(QQuickItem *parent = 0);
+ PieChart(QQuickItem *parent = nullptr);
QString name() const;
void setName(const QString &name);
diff --git a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/piechart.h b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/piechart.h
index 855ad7ae3a..885391c3a3 100644
--- a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/piechart.h
@@ -67,7 +67,7 @@ class PieChart : public QQuickItem
public:
//![1]
- PieChart(QQuickItem *parent = 0);
+ PieChart(QQuickItem *parent = nullptr);
QString name() const;
void setName(const QString &name);
diff --git a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/pieslice.h b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/pieslice.h
index 6e64917851..9f8a66734b 100644
--- a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/pieslice.h
+++ b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/pieslice.h
@@ -61,7 +61,7 @@ class PieSlice : public QQuickPaintedItem
QML_ELEMENT
public:
- PieSlice(QQuickItem *parent = 0);
+ PieSlice(QQuickItem *parent = nullptr);
QColor color() const;
void setColor(const QColor &color);
diff --git a/examples/qml/tutorials/extending-qml/chapter5-listproperties/piechart.h b/examples/qml/tutorials/extending-qml/chapter5-listproperties/piechart.h
index 236fa6796f..917d5f992f 100644
--- a/examples/qml/tutorials/extending-qml/chapter5-listproperties/piechart.h
+++ b/examples/qml/tutorials/extending-qml/chapter5-listproperties/piechart.h
@@ -66,7 +66,7 @@ class PieChart : public QQuickItem
//![1]
public:
//![1]
- PieChart(QQuickItem *parent = 0);
+ PieChart(QQuickItem *parent = nullptr);
QString name() const;
void setName(const QString &name);
diff --git a/examples/qml/tutorials/extending-qml/chapter5-listproperties/pieslice.h b/examples/qml/tutorials/extending-qml/chapter5-listproperties/pieslice.h
index 0b290851f0..89f23ea8a8 100644
--- a/examples/qml/tutorials/extending-qml/chapter5-listproperties/pieslice.h
+++ b/examples/qml/tutorials/extending-qml/chapter5-listproperties/pieslice.h
@@ -64,7 +64,7 @@ class PieSlice : public QQuickPaintedItem
//![0]
public:
- PieSlice(QQuickItem *parent = 0);
+ PieSlice(QQuickItem *parent = nullptr);
QColor color() const;
void setColor(const QColor &color);
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);
diff --git a/examples/quick/customitems/maskedmousearea/maskedmousearea.h b/examples/quick/customitems/maskedmousearea/maskedmousearea.h
index 39d78a019a..2a9655f0c3 100644
--- a/examples/quick/customitems/maskedmousearea/maskedmousearea.h
+++ b/examples/quick/customitems/maskedmousearea/maskedmousearea.h
@@ -65,7 +65,7 @@ class MaskedMouseArea : public QQuickItem
QML_ELEMENT
public:
- MaskedMouseArea(QQuickItem *parent = 0);
+ MaskedMouseArea(QQuickItem *parent = nullptr);
bool contains(const QPointF &point) const;
diff --git a/examples/quick/customitems/painteditem/textballoon.h b/examples/quick/customitems/painteditem/textballoon.h
index 129b0f7ee1..1bf96580e2 100644
--- a/examples/quick/customitems/painteditem/textballoon.h
+++ b/examples/quick/customitems/painteditem/textballoon.h
@@ -61,7 +61,7 @@ class TextBalloon : public QQuickPaintedItem
QML_ELEMENT
public:
- TextBalloon(QQuickItem *parent = 0);
+ TextBalloon(QQuickItem *parent = nullptr);
void paint(QPainter *painter);
bool isRightAligned() const;
diff --git a/examples/quick/quickwidgets/qquickviewcomparison/fbitem.h b/examples/quick/quickwidgets/qquickviewcomparison/fbitem.h
index 6270e7adff..573cfd7866 100644
--- a/examples/quick/quickwidgets/qquickviewcomparison/fbitem.h
+++ b/examples/quick/quickwidgets/qquickviewcomparison/fbitem.h
@@ -114,7 +114,7 @@ class FbItem : public QQuickFramebufferObject
QML_ELEMENT
public:
- explicit FbItem(QQuickItem *parent = 0);
+ explicit FbItem(QQuickItem *parent = nullptr);
QQuickFramebufferObject::Renderer *createRenderer() const override;
diff --git a/examples/quick/scenegraph/customgeometry/beziercurve.h b/examples/quick/scenegraph/customgeometry/beziercurve.h
index fd0085a08e..c796c0e5a7 100644
--- a/examples/quick/scenegraph/customgeometry/beziercurve.h
+++ b/examples/quick/scenegraph/customgeometry/beziercurve.h
@@ -69,7 +69,7 @@ class BezierCurve : public QQuickItem
//! [3]
public:
- BezierCurve(QQuickItem *parent = 0);
+ BezierCurve(QQuickItem *parent = nullptr);
~BezierCurve();
//! [2]