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.pas...@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@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to