summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api/component.qdoc
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-12-20 11:31:30 +0200
committerKatja Marttila <katja.marttila@qt.io>2020-12-22 08:38:36 +0200
commita606c9915b8ff1d6001a83aa350400d6286706ff (patch)
tree33fba20f96caf98be8d42382763d0f93f92a9366 /doc/scripting-api/component.qdoc
parentb7df5571e0707f53716fa51d426d5ec31d36af43 (diff)
Introduce ForcedUpdate element for component
Setting ForcedUpdate for component will cause a mandatory update for component if it is installed. Component must be updated before any other component can be updated/installed/removed. Essential components are updated at the same time with ForcedUpdate. Task-number: QTIFW-1565 Change-Id: I6af07fba222371e8cd161d1fec65301450077d86 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/scripting-api/component.qdoc')
-rw-r--r--doc/scripting-api/component.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/scripting-api/component.qdoc b/doc/scripting-api/component.qdoc
index c7a9509c8..ffa2988a3 100644
--- a/doc/scripting-api/component.qdoc
+++ b/doc/scripting-api/component.qdoc
@@ -421,6 +421,14 @@
*/
/*!
+ \qmlmethod boolean component::isForcedUpdate()
+
+ Returns \c true if the component is installed and has a \c ForcedUpdate flag set.
+ Forced updates will be updated together with essential components before any
+ other component can be updated or installed.
+*/
+
+/*!
\qmlmethod void component::setUninstalled()
Sets the component state to uninstalled.