diff options
Diffstat (limited to 'examples/declarative/referenceexamples/methods/doc/methods.rst')
-rw-r--r-- | examples/declarative/referenceexamples/methods/doc/methods.rst | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/declarative/referenceexamples/methods/doc/methods.rst b/examples/declarative/referenceexamples/methods/doc/methods.rst deleted file mode 100644 index bda2ede5a..000000000 --- a/examples/declarative/referenceexamples/methods/doc/methods.rst +++ /dev/null @@ -1,15 +0,0 @@ -.. _qml-methods-example: - -Extending QML - Methods Example -=============================== - -This example builds on the :ref:`qml-adding-types-example`, -the :ref:`qml-object-and-list-property-types-example` and -the :ref:`qml-inheritance-and-coercion-example`. - -The Methods Example has an additional method in the ``BirthdayParty`` class: -``invite()``. ``invite()`` is decorated with ``@Slot`` so that it can be -called from QML. - -In ``example.qml``, the ``invite()`` method is called -in the ``QtQml.Component.completed()`` signal handler. |