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