Port Q_ENUMS to Q_ENUM


Q_ENUM does what Q_ENUMS did plus declaring two friend functions, so the
behavior should be the same.

Q_ENUMS has been deprecated since at least Qt 6.

Pick-to: 6.11 6.10 6.8 6.5
Change-Id: Iaf4723dd6ee74a1257fda50e0065608f3e049518
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commite83addebba4b60bc0c46d6e050cb073ca77977b6
parent1bb69e84846f57cf5fb26410a1afa5ddf005db6d
authorAhmad Samir <a.samirh78@gmail.com>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeMon, 8 Dec 2025 21:30:07 +0000