aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-06-20 16:10:26 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2022-06-24 13:55:22 +0200
commit1815221245c0c0e8e437b46975357a282b3ad9b3 (patch)
treebb86098c2ef11d47c6b0bc1f97f12cee55cc2ba9 /build_scripts/utils.py
parentf8e945097c4639df5d1263dbca81e2c4fcc371b5 (diff)
snippet_translate double colon improvements
- Earlier, double colons were converted to dot operator only when the statement had a QObject class or namespace. For cases with a normal C++ namespace like MyClass::x, it was still translated without modifications to Python. - This patch adds an extra statement at the end of snippet_translate(x) to convert all the remaining scope resolution to dot operator On top of the above changes, it also addresses a FIXME to handle C++ iterator declaration in Python Task-number: PYSIDE-1972 Pick-to: 6.3 Change-Id: I45d12954835aaa569d1a4ef15badb366eaff0fe7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/utils.py')
0 files changed, 0 insertions, 0 deletions