[Qt-qml] Exporting enums to QML
Girish Ramakrishnan
girish at forwardbias.in
Fri Nov 19 20:57:51 CET 2010
Hi,
Create a QObject subclass with the enums and register the class using
qmlRegisterUncreatableType.
Girish
On Sat, Nov 20, 2010 at 12:13 AM, <jerome.pasion at nokia.com> wrote:
> Hello,
>
> I know there is no enum reserved keyword in JavaScript, but what is the preferred way to expose Q_ENUMS to QML?
>
> Thanks,
> Jerome P.
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
More information about the Qt-qml
mailing list