From b641eaebfa9888d80b96e4e7adc610fe4ceb86a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 31 Jan 2023 17:39:50 +0100 Subject: Doc: Add missing \since to new Qt 6.5 Qt QML API Pick-to: 6.5 Change-Id: I9468f2a4ff6ca93b6a1b66cd6cb79659fec85524 Reviewed-by: Ulf Hermann --- src/qml/qml/qqmlapplicationengine.cpp | 3 +++ src/qml/qml/qqmlcomponent.cpp | 3 +++ 2 files changed, 6 insertions(+) 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) -- cgit v1.2.3