mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-08 07:49:40 +02:00
Expand and fix ToolbarProxy and ToolbarButtonProxy JSDoc stubs
This commit is contained in:
parent
71355840b9
commit
c97d7c9d73
1 changed files with 54 additions and 2 deletions
|
@ -37,6 +37,32 @@ public:
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE void editProperties(const QVariantMap& properties);
|
Q_INVOKABLE void editProperties(const QVariantMap& properties);
|
||||||
|
|
||||||
|
|
||||||
|
// QmlWrapper methods.
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarButtonProxy#writeProperty
|
||||||
|
* @parm {string} propertyName
|
||||||
|
* @param {object} propertyValue
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarButtonProxy#writeProperties
|
||||||
|
* @param {object} properties
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarButtonProxy#readProperty
|
||||||
|
* @param {string} propertyName
|
||||||
|
* @returns {object}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarButtonProxy#readProperties
|
||||||
|
* @param {string[]} propertyList
|
||||||
|
* @returns {object}
|
||||||
|
*/
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
|
@ -65,16 +91,42 @@ public:
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function ToolbarProxy#addButton
|
* @function ToolbarProxy#addButton
|
||||||
* @property {object} properties
|
* @param {object} properties
|
||||||
* @returns {ToolbarButtonProxy}
|
* @returns {ToolbarButtonProxy}
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE ToolbarButtonProxy* addButton(const QVariant& properties);
|
Q_INVOKABLE ToolbarButtonProxy* addButton(const QVariant& properties);
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function ToolbarProxy#removeButton
|
* @function ToolbarProxy#removeButton
|
||||||
* @property {string} name
|
* @param {string} name
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE void removeButton(const QVariant& name);
|
Q_INVOKABLE void removeButton(const QVariant& name);
|
||||||
|
|
||||||
|
|
||||||
|
// QmlWrapper methods.
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarProxy#writeProperty
|
||||||
|
* @parm {string} propertyName
|
||||||
|
* @param {object} propertyValue
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarProxy#writeProperties
|
||||||
|
* @param {object} properties
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarProxy#readProperty
|
||||||
|
* @param {string} propertyName
|
||||||
|
* @returns {object}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**jsdoc
|
||||||
|
* @function ToolbarProxy#readProperties
|
||||||
|
* @param {string[]} propertyList
|
||||||
|
* @returns {object}
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(ToolbarProxy*);
|
Q_DECLARE_METATYPE(ToolbarProxy*);
|
||||||
|
|
Loading…
Reference in a new issue