diff options
Diffstat (limited to 'examples/qml')
-rw-r--r-- | examples/qml/referenceexamples/binding/happybirthdaysong.h | 2 | ||||
-rw-r--r-- | examples/qml/referenceexamples/valuesource/happybirthdaysong.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qml/referenceexamples/binding/happybirthdaysong.h b/examples/qml/referenceexamples/binding/happybirthdaysong.h index 6960c7a330..dcfebc06ba 100644 --- a/examples/qml/referenceexamples/binding/happybirthdaysong.h +++ b/examples/qml/referenceexamples/binding/happybirthdaysong.h @@ -63,7 +63,7 @@ class HappyBirthdaySong : public QObject, public QQmlPropertyValueSource public: HappyBirthdaySong(QObject *parent = nullptr); - virtual void setTarget(const QQmlProperty &); + void setTarget(const QQmlProperty &) override; QString name() const; void setName(const QString &); diff --git a/examples/qml/referenceexamples/valuesource/happybirthdaysong.h b/examples/qml/referenceexamples/valuesource/happybirthdaysong.h index 5900f118f1..e2205a4ebb 100644 --- a/examples/qml/referenceexamples/valuesource/happybirthdaysong.h +++ b/examples/qml/referenceexamples/valuesource/happybirthdaysong.h @@ -67,7 +67,7 @@ class HappyBirthdaySong : public QObject, public QQmlPropertyValueSource public: HappyBirthdaySong(QObject *parent = nullptr); - virtual void setTarget(const QQmlProperty &); + void setTarget(const QQmlProperty &) override; // ![1] QString name() const; |