summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-08-10 16:33:56 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-08-16 10:11:13 +0300
commit2b53c4767b7f6378fa1bb855339f207f6a13c39e (patch)
treed4c48c891144bb076d80f9c5b3e2a0ef5120c2ef /doc
parenta8b4b4da9db8c4bee2494157cecb2a474d92d2e3 (diff)
Doc: Minor function summary fix for component JS object
The "component::addDependency" and "component::addAutoDependOn" methods support also specifying a comma separated list of components in the same string parameter. Change-Id: I7f4d289d80d4efd485a0cfa64c6dda93bfc2f59a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/scripting-api/component.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/scripting-api/component.qdoc b/doc/scripting-api/component.qdoc
index ffa2988a3..c253767b3 100644
--- a/doc/scripting-api/component.qdoc
+++ b/doc/scripting-api/component.qdoc
@@ -354,6 +354,8 @@
\qmlmethod void component::addDependency(string newDependency)
Adds a new component \a newDependency to the list of dependencies.
+ Alternatively, multiple components can be specified by separating each with
+ a comma.
\sa dependencies
*/
@@ -362,6 +364,8 @@
\qmlmethod void component::addAutoDependOn(string newDependOn)
Adds the component specified by \a newDependOn to the automatic depend-on list.
+ Alternatively, multiple components can be specified by separating each with
+ a comma.
\sa autoDependencies
*/