diff options
author | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2015-05-27 15:14:21 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> | 2015-05-27 15:08:00 +0000 |
commit | d6a299f6be846250bfc2dc6bb17ae0e075e840e6 (patch) | |
tree | 310f46c53bb068ef3d18ff4ffb31ee56b114fce3 | |
parent | a050b55190c4f83255be09416e79debd0772a4fd (diff) |
Doc: add docs for ScriptEngine::newArray
Change-Id: I69462de7442612c35634cead37572db387031c3e
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
-rw-r--r-- | src/libs/installer/scriptengine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/installer/scriptengine.cpp b/src/libs/installer/scriptengine.cpp index fe7220a49..9a4272ac9 100644 --- a/src/libs/installer/scriptengine.cpp +++ b/src/libs/installer/scriptengine.cpp @@ -319,6 +319,10 @@ QJSValue ScriptEngine::newQObject(QObject *object) return jsValue; } +/*! + Creates a JavaScript object of class Array with the specified \a length. +*/ + QJSValue ScriptEngine::newArray(uint length) { return m_engine.newArray(length); |