diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-03 13:08:18 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-04 08:49:46 +0200 |
commit | 8b479a0260aab49243a2fca328bda96c261c23e6 (patch) | |
tree | 75de5c5cfb2be25a3b0a1d8ae7d9abeae91d7fd6 /sources/pyside6 | |
parent | b85f09619156db4486114a8331218ea54d0a3471 (diff) |
Documentation/QmlSingleton: Remove mention of Q_OBJECT
It does not exist in Python.
Pick-to: 6.7
Change-Id: Ib52635df70148f604b066435e50653d1126a80dc
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6')
-rw-r--r-- | sources/pyside6/doc/extras/QtQml.QmlSingleton.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/doc/extras/QtQml.QmlSingleton.rst b/sources/pyside6/doc/extras/QtQml.QmlSingleton.rst index d3cfef8e2..402c18d55 100644 --- a/sources/pyside6/doc/extras/QtQml.QmlSingleton.rst +++ b/sources/pyside6/doc/extras/QtQml.QmlSingleton.rst @@ -2,7 +2,7 @@ .. py:decorator:: QmlSingleton Declares the decorated type to be a singleton in QML. This only takes effect if -the type is a Q_OBJECT and is available in QML (by having a QmlElement decorator). +the type is a QObject and is available in QML (by having a QmlElement decorator). The QQmlEngine will try to create a singleton instance using the type's default constructor. |