diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-10-25 11:03:45 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-25 16:15:12 +0100 |
commit | 2914408d9017d192f254b4c7b2d298bb7b6e885e (patch) | |
tree | 143dce2ca33d660d4611b91cd06b9170d3a7ad3e /build_scripts/qp5_tool.py | |
parent | 0ced05f77b88c68c8e2a1c71161cb19b9c890f59 (diff) |
shiboken: Refactor target lang name
- Devirtualize TypeEntry::targetLangName() and replace by
QString buildTargetLangName() that walks up the hierarchy and
builds the name from the components. It populates a mutable
variable m_cachedTargetLangName.
- Implement setTargetLangName() to set m_cachedTargetLangName
directly so that it works in all classes (for target-lang-name).
- Implement a targetLangEntryName() that returns the last name
part using the same pattern.
- Remove the unused lookupName().
Fixes: PYSIDE-1133
Task-number: PYSIDE-990
Task-number: PYSIDE-1074
Change-Id: I15a6805a21584f1d7d4222e577e50907d7291841
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/qp5_tool.py')
0 files changed, 0 insertions, 0 deletions