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

2017-02-22 Thread Pierre-Yves Siret
Done : https://bugreports.qt.io/browse/QTBUG-59083 2017-02-22 13:08 GMT+01:00 Bo Thorsen : > 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

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

2017-02-22 Thread Bo Thorsen
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

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

2017-02-22 Thread 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