class KServiceAction |
|
Represents an action in a .desktop file
Actions are defined with the config key Actions in the [Desktop Entry]
group, followed by one group per action, as per the desktop entry standard.
See also KService.actions |
|
Creates a KServiceAction. Normally you don't have to do this, KService creates the actions when parsing the .desktop file. |
|
Internal Needed for operator>> |
|
Copy constructor |
|
Returns the action's internal data. |
|
Returns the action's exec command, as defined by the Exec key in the desktop action group |
|
Returns the action's icon, as defined by the Icon key in the desktop action group |
|
Returns whether the action is a separator. This is true when the Actions key contains "_SEPARATOR_". |
|
Returns the action's internal name For instance Actions=Setup;... and the group [Desktop Action Setup] define an action with the name "Setup". |
|
Returns whether the action should be suppressed in menus. This is useful for having actions with a known name that the code looks for explicitly, like Setup and Root for kscreensaver actions, and which should not appear in popup menus. Returns true to suppress this service |
|
Sets the action's internal data to the given userData. |
|
Returns the action's text, as defined by the Name key in the desktop action group |