QSurface3DSeries: Avoid enum/flag confusion
QSurface3DSeries declared the DrawFlag enum as a Q_FLAG (and didn't
register the actual flag type, DrawFlags, with the meta-type system).
This mostly worked so far (as he engine would still have enough
information to convert the enumerator names to their values, and then
would just rely on writing integers in the end), but started to confuse
tooling after the introduction of "opaque types": As
QSurface3DSeries::DrawFlags changed from completely unknown to "known,
but we don't have any information about it", qmllint would emit warnings
in the stocqt example in the qtdoc repository.
Fix this by correctly registering the enum as an enum, and the flag as a
flag.
The same applies to QtGraphs3D::SelectionFlag(s).
Change-Id: I2be1fb44b17197414cd11b500f2d3254f685f9ee
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>