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.10 6.8 6.5
Change-Id: I525a10691b2e350f448763d331f8c4dcfdb6422c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commitbd7225b8f6eeb07316320501766f18d3479b6a3c
parent8dcc854dead43c974ac7861ea81cc64c60f077f7
authorAhmad Samir <a.samirh78@gmail.com>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeTue, 25 Nov 2025 19:31:07 +0200