qtdeclarative/tests/auto/qml/qqmljsscope
Sami Shalayel c2a65fbe04 qqmljsscope: add ownModuleName
Allow qqmljsscopes of QML components to have "own" module names, and
add a helper method moduleName() that helps retrieve the module name
of some (possibly non QML component) qqmljsscope by iterating over its
parents.

That is required for the renaming of qmlcomponents and allows to check
if the qml element to be renamed is defined in the same module as the
current module. (It is not allowed to rename a QML component from
another module).

Task-number: QTBUG-114993
Change-Id: I09d57ec87cfc64de31859b2af6334264c4fa6912
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
2024-04-23 20:33:38 +02:00
..
QQmlJSScopeTests qqmljsscope: add ownEnumerationKey() helper method 2024-03-21 10:41:30 +01:00
QualifiedNamesTests Correct license for test files 2024-02-27 10:32:21 +01:00
data qqmljsscope: add ownModuleName 2024-04-23 20:33:38 +02:00
BLACKLIST Disable failing declarative tests on Android 2022-01-31 14:41:39 +02:00
CMakeLists.txt CMake: Make qml tests standalone projects 2023-07-05 12:34:11 +02:00
tst_qqmljsscope.cpp qqmljsscope: add ownModuleName 2024-04-23 20:33:38 +02:00