diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-17 16:58:30 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-25 11:43:05 +0000 |
| commit | 3ec934419b1217e2a623e2f91336a8a5628ec5fe (patch) | |
| tree | c24ea65ff368fedc083d52e85e40225d7013723b /build_scripts/utils.py | |
| parent | 0e03a2524e1d98f717f204252e155762e0439e93 (diff) | |
shiboken6: Introduce a new Text stream
Add a new text stream wrapping QTextStream with built-in indent.
This removes the need to have INDENT as a separate member variable
or function parameter and to output it at the beginning of each
line.
It also makes it easier to factor out the write() functions since they
no longer need the indent.
Make the write* functions const where possible.
The doc generator is left as-is for the moment.
Rename the old Indentation to Indentation4 to avoid
conflicts.
Change-Id: I6866e7360df119859adeee567d2b18a37cb63a79
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions
