diff options
author | Katja Marttila <katja.marttila@qt.io> | 2020-06-22 07:18:10 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2020-06-25 08:42:24 +0300 |
commit | f546080906dda47adcb62ef30f118fb8a044e03f (patch) | |
tree | 0d87470fe60d5f79ee0d983d55c61a4b829512bd /doc | |
parent | 7dc2fd7e810d9bc96d2b4c0bfda1df3fe4bc8b6c (diff) |
Add possibility to select/deselect component from script using core
We might not have componentselection page visible, so we need a
possibility to select/deselect components also using core.
Task-number: QTIFW-1847
Change-Id: I85ccf0602144f843c15ef7c0818ba435d36bdac5
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/scripting-api/packagemanagercore.qdoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc index cb11cef0d..5c35dccad 100644 --- a/doc/scripting-api/packagemanagercore.qdoc +++ b/doc/scripting-api/packagemanagercore.qdoc @@ -273,6 +273,18 @@ */ /*! + \qmlmethod void installer::selectComponent(string id) + + Selects the component with \a id. +*/ + +/*! + \qmlmethod void installer::deselectComponent(string id) + + Deselects the component with \a id. +*/ + +/*! \qmlmethod void installer::setCompleteUninstallation(bool complete) Sets the uninstallation to be \a complete. If \a complete is false, only components deselected |