Eradicate most uses and mark the module Q_FOREACH-free


Port the easy ones, leave the complicated ones for domain experts
(created QTBUG-115802 for this), but drop QT_NO_FOREACH protection
only in the single TU that still uses the macro. This requires adding
the file to NO_PCH_SOURCES.

Task-number: QTBUG-115802
Change-Id: I3ccec6d7273a3db9faba7ed4de32a3705e1daaeb
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
commitd03540f94ec4844379b10eb6a34f33534a2e402a
parent95c5c901d16edd7fb5a83767258c6c88bb6bfc8d
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeFri, 4 Aug 2023 22:43:33 +0200