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: I190bfa894aebf3b187fef1792d40c21911fe62b3
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit6ec841f97e681edc501106824aa93a4cfc2115e9
parentc1eae75d1821bf75ee344a1f6e466206a59e3ed8
authorAhmad Samir <a.samirh78@gmail.com>
committerAhmad Samir <a.samirh78@gmail.com>
commit timeMon, 8 Dec 2025 21:29:47 +0000