Kai Köhne ca311cf1ab Use QDebugStateSaver in example operator<<()
This makes sure that changes in the debug stream - like nospace() -
do not "leak". Also use the example snippet in QDebugStateSaver
documentation.

Change-Id: I934976d2c7c2335abfec68c763526a5cbb0e6f1e
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 9f5f64e9dbd916679bd881ee0331da9a3dacac32)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-16 19:04:01 +00:00
..

Qt is equipped with a range of capable tool classes, from containers and
iterators to classes for string handling and manipulation.

Other classes provide application infrastructure support, handling plugin
loading and managing configuration files.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.