diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source')
| -rw-r--r-- | examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst b/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst index 7b00b09bb..17e13d49f 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst @@ -14,7 +14,7 @@ the song over time. :lines: 13-49 The class ``HappyBirthdaySong`` is added as a value source. It must inherit -from ``QQmlPropertyValueSource`` and implement its interface. The +from :class:`~PySide6.QtQml.QQmlPropertyValueSource` and implement its interface. The ``setTarget()`` function is used to define which property this source acts upon. In this case, the value source writes to the ``announcement`` property of the ``BirthdayParty`` to display the lyrics over time. It has an internal timer |
