altough is reasonable it's not possibile because generator expects Qualifier:: Name, indeed generator says : enum Application::MyClass::MyNewEnum is not on the pattern Qualifier::Name
G. >----Messaggio originale---- >Da: [EMAIL PROTECTED] >Data: 02/12/2008 16.27 >A: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Cc: <[email protected]> >Ogg: Re: [Qt-jambi- interest] generator and enum > >[EMAIL PROTECTED] wrote: >> namespace Application >> { >> class MyClass >> { >> public: >> >> enum MyNewEnum >> { >> FIRST_ITEM, >> >> SECOND_ITEM >> }; >> } >> } >> >> my typesystem.txt contains >> >> <namespace- >> type name=" Application" /> >> <enum-type name="MyClass::MyNewEnum"/> >> > >Hi, > >You should specify the fully qualified name of the enum type, like you >would if referring to it in code: > > <enum-type name="Application::MyClass:: MyNewEnum" /> > >-- Eskil > > > _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
