Hi there,

I'm keeping enums in a namespace like that ;

Qt Code:
  1. namespace XXX{
  2.  
  3. enum CharCode { a=0,b,c,d,e,f,g,h,i,j,k };
  4. }
  5. Q_DECLARE_METATYPE(XXX::CharCode)
To copy to clipboard, switch view to plain text mode 

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 ...