[Qt-qml] private Q_INVOKABLE

Sven Anderson Sven.Anderson at snom.com
Tue Dec 6 12:20:42 CET 2011


Hi,

I noticed, that Q_INVOCABLEs, that are declared as private, cannot be 
called from QML/javascript, while protected and public ones can. But 
even the private ones can be called by QMetaObject::invokeMethod().

Can someone explain that?


Thanks and best regards

Sven


More information about the Qt-qml mailing list