aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scriptableapplication/mainwindow.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-10-01 15:49:19 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-10-04 13:44:47 +0200
commit20b7a0a68f1360623ace93551ac68a71d4c078a0 (patch)
tree5bf3f0459b62f24ea7f1f98dd34ceccc1bdb2708 /examples/scriptableapplication/mainwindow.cpp
parent4def28e7f9da33aa047f8d201ce2298364f6db42 (diff)
shiboken: Streamline code for argument default value modification
Factor out a helper for applying the modifications and use that in AbstractMetaBuilderPrivate::traverseFunction(AddedFunction) and AbstractMetaBuilderPrivate::traverseFunction(FunctionModelItem) consistently using the existing list of function modifications. Streamline AbstractMetaBuilderPrivate::fixDefaultValue() to handle empty expressions for simplicity. Remove AbstractMetaFunction::replacedDefaultExpression() and AbstractMetaFunction::removedDefaultExpression() which are no longer needed. Remove unused AbstractMetaFunction::argumentReplaced(). Task-number: PYSIDE-1095 Change-Id: I649d8aa4d2ecc8bd551ecf57303ab9b849757029 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/scriptableapplication/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions