Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/ActionMenu.qml
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Line(s) | 122 | PlasmaComponents.MenuItem { | |||
---|---|---|---|---|---|
126 | enabled : actionItem.type !== "title" && ("enabled" in actionItem ? actionItem.enabled : true) | 126 | enabled : actionItem.type !== "title" && ("enabled" in actionItem ? actionItem.enabled : true) | ||
127 | separator : actionItem.type === "separator" | 127 | separator : actionItem.type === "separator" | ||
128 | section : actionItem.type === "title" | 128 | section : actionItem.type === "title" | ||
129 | icon : actionItem.icon ? actionItem.icon : null | 129 | icon : actionItem.icon ? actionItem.icon : null | ||
130 | checkable : actionItem.checkable ? actionItem.checkable : false | 130 | checkable : actionItem.checkable ? actionItem.checkable : false | ||
131 | checked : actionItem.checked ? actionItem.checked : false | 131 | checked : actionItem.checked ? actionItem.checked : false | ||
132 | 132 | | |||
133 | onClicked: { | 133 | onClicked: { | ||
134 | actionClicked(actionItem.actionId, actionItem.actionArgument); | 134 | root.actionClicked(actionItem.actionId, actionItem.actionArgument); | ||
135 | } | 135 | } | ||
136 | } | 136 | } | ||
137 | } | 137 | } | ||
138 | } | 138 | } |