diff options
author | Kai Köhne <kai.koehne@qt.io> | 2023-01-31 17:39:50 +0100 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-02-02 10:24:36 +0100 |
commit | b641eaebfa9888d80b96e4e7adc610fe4ceb86a1 (patch) | |
tree | 4e50ab243281cedfc3b537a75c753d46bb026f49 | |
parent | 47be703df59d870815c84c1ed7e41a348c83bc6d (diff) |
Doc: Add missing \since to new Qt 6.5 Qt QML API
Pick-to: 6.5
Change-Id: I9468f2a4ff6ca93b6a1b66cd6cb79659fec85524
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r-- | src/qml/qml/qqmlapplicationengine.cpp | 3 | ||||
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlapplicationengine.cpp b/src/qml/qml/qqmlapplicationengine.cpp index 45f7043336..869291caad 100644 --- a/src/qml/qml/qqmlapplicationengine.cpp +++ b/src/qml/qml/qqmlapplicationengine.cpp @@ -276,6 +276,8 @@ QQmlApplicationEngine::QQmlApplicationEngine(const QUrl &url, QObject *parent) \a uri and \a typeName This is provided as a convenience, and is the same as using the empty constructor and calling loadFromModule afterwards. + + \since 6.5 */ QQmlApplicationEngine::QQmlApplicationEngine(QAnyStringView uri, QAnyStringView typeName, QObject *parent) : QQmlApplicationEngine(parent) @@ -352,6 +354,7 @@ void QQmlApplicationEngine::load(const QString &filePath) engine.loadFromModule("QtQuick", "Rectangle"); \endcode + \since 6.5 \sa QQmlComponent::loadFromModule */ void QQmlApplicationEngine::loadFromModule(QAnyStringView uri, QAnyStringView typeName) diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index 54d763d164..4ff47588ed 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -490,6 +490,8 @@ bool QQmlComponent::isLoading() const /*! Returns true if the component was created in a QML files that specifies \c{pragma ComponentBehavior: Bound}, otherwise returns false. + + \since 6.5 */ bool QQmlComponent::isBound() const { @@ -594,6 +596,7 @@ QQmlComponent::QQmlComponent(QQmlEngine *engine, QAnyStringView uri, QAnyStringV the component will be loaded and compiled asynchronously. \sa loadFromModule() + \since 6.5 \overload */ QQmlComponent::QQmlComponent(QQmlEngine *engine, QAnyStringView uri, QAnyStringView typeName, CompilationMode mode, QObject *parent) |