diff options
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods/doc')
| -rw-r--r-- | examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst | 4 |
1 files changed, 2 insertions, 2 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 c192fb9b6..0daaab9a8 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 @@ -5,10 +5,10 @@ This is the second of a series of 6 examples forming a tutorial about extending QML with Python. Suppose we want ``PieChart`` to have a ``clearChart()`` method that erases the -chart and then emits a ``chartCleared`` signal. Our ``app.qml`` would be able +chart and then emits a ``chartCleared`` signal. Our ``App.qml`` would be able to call ``clearChart()`` and receive ``chartCleared()`` signals like this: -.. literalinclude:: app.qml +.. literalinclude:: Charts/App.qml :lineno-start: 4 :lines: 4-32 |
