From 65aea076261d0651c515999040460008d6183af4 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 6 Nov 2024 13:33:15 +0100 Subject: Documentation: Use more references in the QML tutorial examples Pick-to: 6.8 Change-Id: Id40b51d321830477ad67545ef0e96124ccafc894 Reviewed-by: Cristian Maureira-Fredes --- examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qml/tutorials/extending-qml-advanced/methods/doc') diff --git a/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst b/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst index 8f8bb5ae3..fe7469bd6 100644 --- a/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst +++ b/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst @@ -6,7 +6,7 @@ the :ref:`example_qml_tutorials_extending-qml-advanced_properties` and the :ref:`example_qml_tutorials_extending-qml-advanced_advanced2-inheritance-and-coercion`. The Methods Example has an additional method in the ``BirthdayParty`` class: -``invite()``. ``invite()`` is decorated with ``@Slot`` so that it can be +``invite()``. ``invite()`` is decorated with :deco:`~PySide6.QtCore.Slot` so that it can be called from QML. In ``example.qml``, the ``invite()`` method is called -- cgit v1.2.3