summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-06-02 16:40:24 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2021-06-02 16:40:24 +0300
commit3fdbd475202703530ca4b8f7f2a0e731d5f87f8b (patch)
tree516a9c48a004fc471fe8bc5dedd4efa72550cab9 /doc/scripting-api
parent35f79da9cb99c7c0456f002829dc0fdfe55b4f8d (diff)
parent45e77c3a1eb790d89f2ded5b7fbe556ed4b5271c (diff)
Merge remote-tracking branch 'origin/4.1'
Diffstat (limited to 'doc/scripting-api')
-rw-r--r--doc/scripting-api/packagemanagercore.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc
index f4d71ee97..918aed78d 100644
--- a/doc/scripting-api/packagemanagercore.qdoc
+++ b/doc/scripting-api/packagemanagercore.qdoc
@@ -33,11 +33,12 @@
*/
/*!
- \qmlmethod array installer::components()
+ \qmlmethod array installer::components(string regexp)
Returns an array of all components currently available.
If the repository metadata have not been fetched yet,
- the array will be empty.
+ the array will be empty. Optionally, a \a regexp expression
+ can be used to further filter the listed packages.
\sa component, finishAllComponentsReset(), finishUpdaterComponentsReset()
*/