Readd Q_ENUM for enums declared as QFlags


Amends d3090f4ff235d12adba5abe3fc2a19d26b4711fc, which replaced Q_ENUMS
with Q_FLAG for enums declard as QFlags. Q_FLAG registers the individual
enum values with the meta-type system, but doesn't register the enum
type itself, which breaks some functionality for the enum type wrt. the
meta-type system, e.g. `QMetaEnum::fromType`.

Fix the issue by adding Q_ENUM for those enums.

Pick-to: 6.11 6.10 6.8 6.5
Change-Id: Ia07985dffc58c26881147194b1fa922643c3f8b6
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit208e42ed8cee577fbbc54e602931bf7454421a02
parentfee2641696f51966c4c592e9c1a9d38a4f57123b
authorAhmad Samir <a.samirh78@gmail.com>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeSat, 13 Dec 2025 15:43:28 +0200