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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qml/referenceexamples/valuesource/happybirthdaysong.h b/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
index e2205a4ebb..2600208968 100644
--- a/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
+++ b/examples/qml/referenceexamples/valuesource/happybirthdaysong.h
@@ -64,6 +64,7 @@ class HappyBirthdaySong : public QObject, public QQmlPropertyValueSource
// ![0]
Q_PROPERTY(QString name READ name WRITE setName)
// ![1]
+ QML_ELEMENT
public:
HappyBirthdaySong(QObject *parent = nullptr);