class StyleClass : public QObject {public: typedef enum { STYLE_RADIAL, STYLE_ENVELOPE, STYLE_FILLED } Style; Style m_style; //...};
The .h file has the above code. How to access the above enum through QML?