qt5base-lts/tests/auto/gui/text
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
..
qabstracttextdocumentlayout CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qcssparser CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfont CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfontcache CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfontdatabase tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
qfontmetrics CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qglyphrun CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputcontrol CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrawfont tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
qstatictext CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qsyntaxhighlighter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextblock CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocument CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocumentfragment CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocumentlayout CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextimagehandler CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextlayout CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextlist CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextmarkdownimporter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextmarkdownwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextobject CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextodfwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextpiecetable CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextscriptengine tst_QTextScriptEngine: replace QList with const array 2023-08-08 16:03:28 +02:00
qtexttable CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00