pingpong example modernization
Use constexpr to declare custom events.
Reformat the code in some places using clang-format.
Use qInfo() instead of std::cout.
Use 'auto' where appropriate.
Use per-class includes.
Pick-to: 6.5
Task-number: QTBUG-111448
Change-Id: I76222fd91663828bff7e5bab8187845627615521
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
| commit | 907f7e3ac2be9dca4cbbce5495ff7e4f212de45a |
| parent | 677ea4561b5dda25308adb952505d5ebc2c756db |
| author | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> |
| committer | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> |
| commit time | Thu, 20 Apr 2023 11:00:25 +0200 |