View Full Version : How to use enums in qml

29th June 2011, 13:24
Hi there,

I'm keeping enums in a namespace like that ;

namespace XXX{

enum CharCode { a=0,b,c,d,e,f,g,h,i,j,k };

Is it possible to, use that kind of enumerations in qml. I can use enums if it has own class but i can't use namespaced enums at all. Thanks ...