PositionSource: Port away from deprecated Q_ENUMS/Q_FLAGS


The version with "S" does not register the enum with the metatype
system, which then in turn leads to issues when the Quick Script
Compiler attempts to make use of metatype information.

Pick-to: 6.10
Task-number: QTBUG-138174
Change-Id: Ib6d0d2b9bd13a45630d59d0919bc7fb1a1b10265
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit409769ce8a4be197a82dd791ed300e77b5953b0e
parenta93d0975d2304c398dc14e64f098e66d8af2ba39
authorFabian Kosmale <fabian.kosmale@qt.io>
committerFabian Kosmale <fabian.kosmale@qt.io>
commit timeThu, 3 Jul 2025 09:42:35 +0200