Ingo Klöcker
d5dafb2ae3
qt: Replace Q_FOREACH with range-for
* lang/qt/src/qgpgmekeyformailboxjob.cpp (do_work): Replace Q_FOREACH
with range-for.
* lang/qt/src/qgpgmekeylistjob.cpp (QGpgMEKeyListJob::resultHook):
Ditto.
* lang/qt/src/threadedjobmixin.cpp (_detail::audit_log_as_html): Ditto.
* lang/qt/tests/t-keylist.cpp (KeyListTest::testPubkeyAlgoAsString):
Ditto.
* lang/qt/tests/t-keylocate.cpp (KeyLocateTest::testDaneKeyLocate,
KeyLocateTest::testKeyLocateSingle): Ditto.
* lang/qt/src/qgpgmesignencryptjob.cpp (sign_encrypt): Replace Q_FOREACH
with range-for. Add braces around single statement blocks.
* lang/qt/src/qgpgmesignjob.cpp (sign): Ditto.
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfig::reloadConfiguration,
QGpgMENewCryptoConfig::sync,
QGpgMENewCryptoConfigComponent::setComponent,
QGpgMENewCryptoConfigEntry::urlValueList,
QGpgMENewCryptoConfigEntry::setURLValueList): Replace Q_FOREACH with
range-for. Fix indentation. Add braces around single statement blocks.
--
Where necessary the iterated object is wrapped with qAsConst to avoid
deep copies of the iterated object.
2023-12-13 13:16:21 +01:00
..
2021-12-13 10:48:52 +01:00
2016-04-11 17:46:03 +02:00
2023-08-22 11:15:01 +02:00
2023-06-21 15:25:11 +02:00
2023-08-16 14:23:15 +02:00
2022-08-22 14:39:22 +02:00
2023-08-15 11:56:40 +02:00
2017-04-25 10:24:11 +02:00
2022-02-03 15:56:30 +01:00
2022-08-04 12:06:15 +02:00
2023-08-16 14:23:15 +02:00
2023-08-23 12:00:26 +02:00
2022-08-18 10:55:09 +02:00
2022-08-17 15:22:29 +02:00
2021-06-29 12:12:33 +02:00
2023-02-02 12:11:30 +01:00
2023-02-14 09:25:21 +01:00
2023-01-31 12:01:33 +01:00
2023-12-13 13:16:21 +01:00
2023-12-13 13:16:21 +01:00
2022-01-13 11:36:35 +01:00
2023-10-13 09:23:24 +02:00
2022-08-10 12:00:10 +02:00
2022-08-09 14:52:42 +02:00
2022-01-13 15:18:12 +01:00
2023-01-05 18:03:33 +01:00
2022-01-13 12:40:35 +01:00
2023-10-13 09:23:24 +02:00
2023-10-13 09:23:24 +02:00
2022-05-02 16:04:28 +02:00
2022-01-13 11:36:35 +01:00
2022-01-13 11:36:35 +01:00