Hi, On 06/12/2011, at 11:20 AM, ext Sven Anderson wrote:
> 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? Yes. We chose not to allow invoking private methods because, well, they're private. Cheers, Aaron > > > Thanks and best regards > > Sven > _______________________________________________ > Qt-qml mailing list > Qt-qml@qt.nokia.com > http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml