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

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


Done : https://bugreports.qt.io/browse/QTBUG-59083

2017-02-22 13:08 GMT+01:00 Bo Thorsen <bo at vikingsoft.eu>:

> Den 22-02-2017 kl. 11:13 skrev Pierre-Yves Siret:
>
>> 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 ?
>>
>
> My guess is that it's only this way because no one asked for it before.
> Sounds like a reasonable thing to show.
>
> I checked the bug tracker, but I didn't find this. You should add a
> feature request.
>
> Bo Thorsen,
> Director, Viking Software.
>
> --
> Viking Software
> Qt and C++ developers for hire
> http://www.vikingsoft.eu
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170222/315a7c8f/attachment.html>


More information about the Interest mailing list