aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/builtins/builtins.qmltypes21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/imports/builtins/builtins.qmltypes b/src/imports/builtins/builtins.qmltypes
index 09577e46c5..a2dabde755 100644
--- a/src/imports/builtins/builtins.qmltypes
+++ b/src/imports/builtins/builtins.qmltypes
@@ -22,8 +22,11 @@ Module {
}
Component {
- name: "varargs"
- accessSemantics: "value"
+ // QQmlV4Function is the name for varargs. If such parameter is declared
+ // we can invoke the method with any number of QJSValue parameters.
+ // Access semantics are not "value" because the actual QQmlV4Function object
+ // is passed as a pointer.
+ name: "QQmlV4Function"
}
Component {
@@ -531,7 +534,7 @@ Module {
Parameter {
name: "arguments"
- type: "varargs"
+ type: "QQmlV4Function"
}
}
@@ -607,7 +610,7 @@ Module {
Parameter {
name: "arguments"
- type: "varargs"
+ type: "QQmlV4Function"
}
}
@@ -617,7 +620,7 @@ Module {
Parameter {
name: "arguments"
- type: "varargs"
+ type: "QQmlV4Function"
}
}
@@ -801,7 +804,7 @@ Module {
Parameter {
name: "arguments"
- type: "varargs"
+ type: "QQmlV4Function"
}
}
@@ -811,7 +814,7 @@ Module {
Parameter {
name: "arguments"
- type: "varargs"
+ type: "QQmlV4Function"
}
}
@@ -826,7 +829,7 @@ Module {
Parameter {
name: "substitutions"
- type: "varargs"
+ type: "QQmlV4Function"
}
}
@@ -874,7 +877,7 @@ Module {
Parameter {
name: "arguments"
- type: "varargs"
+ type: "QQmlV4Function"
}
}