diff options
author | Katja Marttila <katja.marttila@theqtcompany.com> | 2016-02-17 10:49:51 +0000 |
---|---|---|
committer | Katja Marttila <katja.marttila@theqtcompany.com> | 2016-02-17 11:20:56 +0000 |
commit | e67fd518cbdf9c4ea99f88368f4c2b45e625c0c2 (patch) | |
tree | 80d6756a059edf8e92aabc6dd391ac7f425cca58 /doc | |
parent | 9d4be1a53be2b643114d051332d8439bc8809e59 (diff) |
Revert "Use QQmlV4Function to correctly get empty parameters from script."
This reverts commit eb574d77b0ab9a92b61e7738d089cd4ea4304e51.
The change will not work with Qt5.5 as it is causing constant
crashes in Qt installers. Using this change will require a fix
for Qt5. As we are about to make Qt installers based on 2.0 we
need to revert this change for now.
Change-Id: Ia7906d02db645f2407ab07d14f5a037224574b29
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/scripting-api/component.qdoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/scripting-api/component.qdoc b/doc/scripting-api/component.qdoc index 0dcd28681..1765a1217 100644 --- a/doc/scripting-api/component.qdoc +++ b/doc/scripting-api/component.qdoc @@ -325,6 +325,18 @@ */ /*! + \qmlmethod boolean component::addOperation(string operation, string parameter1 = "", string parameter2 = "", ..., string parameter10 = "") + + Convenience method for calling addOperation(string, stringlist) with up to 10 arguments. +*/ + +/*! + \qmlmethod boolean component::addElevatedOperation(string operation, string parameter1 = "", string parameter2 = "", ..., string parameter10 = "") + + Convenience method for calling addElevatedOperation(string, stringlist) with up to 10 arguments. +*/ + +/*! \qmlmethod boolean component::addElevatedOperation(string operation, stringlist parameters) Creates and adds an installation operation for \a operation. Add any number of parameters. |