On Tue, Jul 26, 2016 at 5:33 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > This is all the engine sees. It's an enum.
But moc might help in this, extracting the relevant information alongside the enum's metadata. Also if std::is_enum<E>::value is true and std::is_convertible<E, typename std::underlying_type<T>::type>::value is false, then the enum is scoped. (Surely in C++something this might break if user-provided conversions get allowed, but for now it's enough). My 2 c, -- Giuseppe D'Angelo _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development