diff options
author | Katja Marttila <katja.marttila@qt.io> | 2021-04-15 15:52:33 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2021-05-21 12:09:32 +0300 |
commit | be2c54531eeb00822259d6f6bfcb90b43768cea3 (patch) | |
tree | cece9822ae77972f4382f8f99031ee761b4aa92f /doc | |
parent | eb4b39099231254c850d897ede4ceaf79b91b4b6 (diff) |
Add possibility to list components with regexp
Task-number: QTIFW-2225
Change-Id: I6a7fdfc1070ad54d520563cae7d2446e97e2e87c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/scripting-api/packagemanagercore.qdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc index bacf50f27..39387b3ae 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() */ |