diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-11-06 13:33:15 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-11-07 12:28:41 +0100 |
| commit | 65aea076261d0651c515999040460008d6183af4 (patch) | |
| tree | ba56d726c07a154bfe1d0701ca95c69d183d4af2 /examples/qml/tutorials/extending-qml/chapter2-methods | |
| parent | 34110468cf63450827f693f6b29bebdd04d4beda (diff) | |
Documentation: Use more references in the QML tutorial examples
Pick-to: 6.8
Change-Id: Id40b51d321830477ad67545ef0e96124ccafc894
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods')
| -rw-r--r-- | examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst b/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst index 6ba62cd8a..c192fb9b6 100644 --- a/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst +++ b/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst @@ -19,7 +19,7 @@ to our C++ class: :lineno-start: 54 :lines: 54-58 -The use of the ``Slot`` decorator makes the ``clearChart()`` method available +The use of :deco:`~PySide6.QtCore.Slot` makes the ``clearChart()`` method available to the Qt Meta-Object system, and in turn, to QML. The method simply changes the color to ``Qt::transparent``, repaints the chart, then emits the ``chartCleared()`` signal: |
