Typos and improvements

This commit is contained in:
David Rowe 2019-08-27 10:03:26 +12:00
parent c19c1c9a5d
commit 3e795d9b99
3 changed files with 4 additions and 4 deletions

View file

@ -216,10 +216,10 @@ void ScriptEngines::shutdownScripting() {
* @property {string} type - <code>"script"</code> or <code>"folder"</code>.
* <p class="important">Deprecated: This property is deprecated and will be removed. It currently always has the value,
* <code>"script"</code>.</p>
* @property {ScriptDiscoveryService.PublicScript[]} [children] - Only present if <code>type</code> is <code>"folder"</code>.
* @property {ScriptDiscoveryService.PublicScript[]} [children] - Only present if <code>type == "folder"</code>.
* <p class="important">Deprecated: This property is deprecated and will be removed. It currently is never present.
* @property {string} [url] - The full URL of the script &mdash; including the <code>"file:///"</code> scheme at the start.
* <p>Only present if <code>type</code> is <code>"script"</code>.</p>
* <p>Only present if <code>type == "script"</code>.</p>
*/
QVariantList getPublicChildNodes(TreeNodeFolder* parent) {
QVariantList result;

View file

@ -130,7 +130,7 @@ public:
/**jsdoc
* Restarts all Interface, avatar, and client scripts after clearing the scripts cache.
* Restarts all Interface, avatar, and client entity scripts after clearing the scripts cache.
* @function ScriptDiscoveryService.reloadAllScripts
*/
Q_INVOKABLE void reloadAllScripts();

View file

@ -22,6 +22,7 @@
* <p>The information provided reflects the subdirectory structure. Properties, methods, and signals are per QT's
* <a href="https://doc.qt.io/qt-5/qsortfilterproxymodel.html">QSortFilterProxyModel</a> class, with the following details:</p>
* <ul>
* <li>The rows are sorted per directory and file names.</li>
* <li>A single column of data: <code>columnCount(index)</code> returns <code>1</code>. </li>
* <li>Data is provided for the following roles:
* <table>
@ -36,7 +37,6 @@
* </table>
* </li>
* <li>Use <code>null</code> for the root directory's index.</li>
* <li>The rows are sorted per directory and file names.</li>
* </ul>
*
* @class ScriptsModelFilter