Showing the changes to libraries/script-engine/src/MenuItemProperties.cpp (1 of 2 files). Show all
Unified · Split
| @@ -53,11 +53,11 @@ QScriptValue menuItemPropertiesToScriptValue(QScriptEngine* engine, const MenuIt · 52 unmodified lines | |||
| 53 | /**jsdoc | 53 | /**jsdoc |
| 54 | * A set of properties that can be passed to {@link Menu.addMenuItem} to create a new menu item. | 54 | * A set of properties that can be passed to {@link Menu.addMenuItem} to create a new menu item. |
| 55 | * | 55 | * |
| 56 | * If none of <code>position</code>, <code>beforeItem</code>, <code>afterItem</code>, or <code>grouping</code> are specified, | 56 | * If none of the properties, <code>position</code>, <code>beforeItem</code>, <code>afterItem</code>, or <code>grouping</code> |
| 57 | * the menu item will be placed at the end of the menu. | 57 | * are specified, the menu item will be placed at the end of the menu. |
| 58 | * | 58 | * |
| 59 | * @typedef {object} Menu.MenuItemProperties | 59 | * @typedef {object} Menu.MenuItemProperties |
| 60 | * @property {string} menuName - Name of the menu. Nested menus can be described using the ">" symbol. | 60 | * @property {string} menuName - Name of the menu. Nested menus can be described using the ">" character. |
| 61 | * @property {string} menuItemName - Name of the menu item. | 61 | * @property {string} menuItemName - Name of the menu item. |
| 62 | * @property {boolean} [isCheckable=false] - Whether or not the menu item is checkable. | 62 | * @property {boolean} [isCheckable=false] - Whether or not the menu item is checkable. |
| 63 | * @property {boolean} [isChecked=false] - Whether or not the menu item is checked. | 63 | * @property {boolean} [isChecked=false] - Whether or not the menu item is checked. |