MySingleton2 QML Type (Singleton) | QmlSingletonTest
Description: A QML singleton type that tests name collision detection.

# MySingleton2 QML Type (Singleton)

A QML singleton type that tests name collision detection. More...

Import Statement: | `import Test`
Since: | QmlSingletonTest 1.0
In C++: | MySingleton2

Note: This type is a QML singleton. There is only one instance of this type in the QML engine.

- List of all members, including inherited members

## Detailed Description

This type is linked to the correct C++ class (MySingleton2) via \nativetype, ensuring that the singleton flag comes from the correctly associated ClassNode, not from name-based heuristics that could match the wrong class.

The presence of TestNamespace::MySingleton2 (which doesn't have QML_SINGLETON) tests that we don't accidentally mark the wrong class as singleton.