qt5base-lts/tests/auto/dbus
Marc Mutz 33f7eb44ff dbus test headers: port away from Q_FOREACH
Headers must be free of Q_FOREACH uses if we want to white-list only
those .cpp files that still use Q_FOREACH in order to enable
QT_NO_FOREACH by default.

In common.h, the situation is pretty clear: the loop bodies clearly
don't modify the container being iterated over.

In MyServer, the situation is not clear at all, and this author
doesn't have the time to investigate, so take a copy and iterate over
that (eactly what Q_FOREACH does), and leave a comment.

As a drive-by, fix missing {} around multi-line loop bodies.

Task-number: QTBUG-115839
Change-Id: I06311a641c83daeee25f45522c694ac355ee86b6
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
2023-08-13 09:19:22 +03:00
..
qdbusabstractadaptor CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusabstractinterface CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusconnection dbus test headers: port away from Q_FOREACH 2023-08-13 09:19:22 +03:00
qdbusconnection_delayed CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusconnection_no_app CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusconnection_no_bus CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusconnection_no_libdbus CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusconnection_signalorder CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusconnection_spyhook CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbuscontext CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusinterface CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbuslocalcalls CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusmarshall dbus test headers: port away from Q_FOREACH 2023-08-13 09:19:22 +03:00
qdbusmetaobject CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusmetatype Fix spelling of D-Bus in the source code 2023-07-06 21:51:29 +02:00
qdbuspendingcall CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbuspendingreply CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusreply CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusservicewatcher CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusthreading CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbustype CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
qdbusxmlparser QDBusIntrospection: Add Annotation struct 2023-07-06 21:51:15 +02:00
CMakeLists.txt QDBusConnectionPrivate: Fix handling of queued messages 2023-05-11 19:58:12 +02:00