[Interest] Should Q_INVOKABLE functions be marked as such in the documentation ?

Pierre-Yves Siret py.siret at gmail.com
Wed Feb 22 11:13:59 CET 2017


Hello,

Reading the doc, there is no indication that a function is Q_INVOKABLE.
It can sometimes be useful to know what functions of a Qt C++ class (not
specifically designed for QML) can be called from QML in addition to the
slots.

The only way I know to do that is to read the source of the class (thanks
to the Woboq people for easing that pain).

Is there a reason to hide this information ?

Cheers,
Pierre-Yves Siret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170222/f542954d/attachment.html>


More information about the Interest mailing list