qt5base-lts/tests/manual/qlocale
Marc Mutz f2f8820073 tests: port assorted trivial uses of Q_FOREACH to ranged for loops
All of these fall into the trivial category: loops over (readily made)
const local containers. As such, they cannot possibly depend on the
safety copy that Q_FOREACH performs, so are safe to port as-is to
ranged for loops.

There may be more where these came from, but these were the ones that
stood out as immediately obvious when scanning the 100s of uses in
qtbase, so I preferred to directly fix them over white-listing their
files with QT_NO_FOREACH (which still may be necessary for some files,
as this patch may not port all uses in that file).

Pick-to: 6.6 6.5
Task-nubmber: QTBUG-115839
Change-Id: I7b7893bec8254f902660dac24167113aca855029
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-08-14 23:11:54 +03:00
..
calendar.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
calendar.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
currency.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
currency.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dateformats.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
dateformats.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
info.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
info.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
languages.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
languages.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
miscellaneous.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
miscellaneous.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
numberformats.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
numberformats.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocale.pro Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API. 2015-09-01 16:57:46 +00:00
window.cpp tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
window.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00