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: Ic03c84132e1db0ca16a825d3d2af599e12a91da3
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit4090a34e033b65c317652d91b008234f48f5ed6f
parentddaaae44038acf12b67ccfda599d259e2761cae0
authorAhmad Samir <a.samirh78@gmail.com>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeMon, 8 Dec 2025 21:30:01 +0000