diff options
Diffstat (limited to 'sources/pyside6/doc/extras/QtQml.qmlRegisterSingletonType.rst')
-rw-r--r-- | sources/pyside6/doc/extras/QtQml.qmlRegisterSingletonType.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/doc/extras/QtQml.qmlRegisterSingletonType.rst b/sources/pyside6/doc/extras/QtQml.qmlRegisterSingletonType.rst index 83102bf86..32231a391 100644 --- a/sources/pyside6/doc/extras/QtQml.qmlRegisterSingletonType.rst +++ b/sources/pyside6/doc/extras/QtQml.qmlRegisterSingletonType.rst @@ -15,6 +15,8 @@ qmlRegisterSingletonType This function registers a Python type as a singleton in the QML system. + Alternatively, the :ref:`QmlSingleton` decorator can be used. + .. py:function:: qmlRegisterSingletonType(pytype: type, uri: str, versionMajor: int, versionMinor: int, typeName: str, callback: object) -> int :param type pytype: Python class |