Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/ContextMenu.qml
Show First 20 Lines • Show All 634 Lines • ▼ Show 20 Line(s) | 559 | PlasmaComponents.ContextMenu { | |||
---|---|---|---|---|---|
635 | } | 635 | } | ||
636 | } | 636 | } | ||
637 | } | 637 | } | ||
638 | 638 | | |||
639 | PlasmaComponents.MenuItem { | 639 | PlasmaComponents.MenuItem { | ||
640 | property QtObject configureAction: null | 640 | property QtObject configureAction: null | ||
641 | 641 | | |||
642 | enabled: configureAction && configureAction.enabled | 642 | enabled: configureAction && configureAction.enabled | ||
643 | visible: configureAction && configureAction.visible | ||||
643 | 644 | | |||
644 | text: configureAction ? configureAction.text : "" | 645 | text: configureAction ? configureAction.text : "" | ||
645 | icon: configureAction ? configureAction.icon : "" | 646 | icon: configureAction ? configureAction.icon : "" | ||
646 | 647 | | |||
647 | onClicked: configureAction.trigger() | 648 | onClicked: configureAction.trigger() | ||
648 | 649 | | |||
649 | Component.onCompleted: configureAction = plasmoid.action("configure") | 650 | Component.onCompleted: configureAction = plasmoid.action("configure") | ||
650 | } | 651 | } | ||
Show All 17 Lines |