summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2024-02-14 12:33:11 +0100
committerDominik Holland <dominik.holland@qt.io>2024-02-14 15:27:49 +0100
commit7273f629c4347e721f6086a46beade932bd6064d (patch)
treec09846f9e6404703096013d54f9a1d818cd845aa
parent149778935e844bbcb7c85752ca10bef3f4731889 (diff)
doc: Add missing documentation
Pick-to: 6.7 6.6 6.5 6.2 Change-Id: Ie562dbd37817ea252a36e48317bc2840d75a363f Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r--src/interfaceframework/qifservicemanager.cpp2
-rw-r--r--src/interfaceframework/qifsimulationengine.cpp9
2 files changed, 11 insertions, 0 deletions
diff --git a/src/interfaceframework/qifservicemanager.cpp b/src/interfaceframework/qifservicemanager.cpp
index aaa61152..78a93f1a 100644
--- a/src/interfaceframework/qifservicemanager.cpp
+++ b/src/interfaceframework/qifservicemanager.cpp
@@ -591,6 +591,8 @@ QList<QIfServiceObject *> QIfServiceManager::findServiceByInterface(const QStrin
one interface, supported by the backend. The \a backendType indicates the type of the backend
and influences whether the backend can be found by the Feature's auto discovery option.
+ The ownership of \a serviceBackendInterface is transferred to the QIfServiceManager.
+
Returns \c true if the backend was successfully registered; otherwise \c false.
\sa QIfServiceInterface
diff --git a/src/interfaceframework/qifsimulationengine.cpp b/src/interfaceframework/qifsimulationengine.cpp
index 47a44f8d..8be4ab60 100644
--- a/src/interfaceframework/qifsimulationengine.cpp
+++ b/src/interfaceframework/qifsimulationengine.cpp
@@ -216,11 +216,20 @@ using namespace qtif_helper;
\endcode
*/
+/*!
+ Constructs a new QIfSimulationEngine with the given \a parent.
+*/
QIfSimulationEngine::QIfSimulationEngine(QObject *parent)
: QIfSimulationEngine(QString(), parent)
{
}
+/*!
+ Constructs a new QIfSimulationEngine with the given \a identifier and \a parent.
+
+ The \a identifier can be used to override the simulation QML file or the simulation data file.
+ \sa Runtime Override
+*/
QIfSimulationEngine::QIfSimulationEngine(const QString &identifier, QObject *parent)
: QQmlApplicationEngine (parent)
, m_globalObject(new QIfSimulationGlobalObject)