aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/referenceexamples/valuesource/happybirthdaysong.h')
-rw-r--r--examples/qml/referenceexamples/valuesource/happybirthdaysong.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/referenceexamples/valuesource/happybirthdaysong.h b/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
index 89bd13c295..e2205a4ebb 100644
--- a/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
+++ b/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
@@ -65,9 +65,9 @@ class HappyBirthdaySong : public QObject, public QQmlPropertyValueSource
Q_PROPERTY(QString name READ name WRITE setName)
// ![1]
public:
- HappyBirthdaySong(QObject *parent = 0);
+ HappyBirthdaySong(QObject *parent = nullptr);
- virtual void setTarget(const QQmlProperty &);
+ void setTarget(const QQmlProperty &) override;
// ![1]
QString name() const;