From e67fd518cbdf9c4ea99f88368f4c2b45e625c0c2 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Wed, 17 Feb 2016 10:49:51 +0000 Subject: 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 --- doc/scripting-api/component.qdoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') 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 @@ -324,6 +324,18 @@ The method is typically called from within \l component::createOperations(). */ +/*! + \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) -- cgit v1.2.3