Class DesktopAction

Subclass of IniLikeGroup for easy access to desktop action.

class DesktopAction
  : IniLikeGroup ;

Methods

NameDescription
displayName Label that will be shown to the user.
execValue
expandExecValue Expand "Exec" value into the array of command line arguments to use to start the action. It applies unquoting and unescaping.
iconName Icon name of action.
localizedDisplayName Label that will be shown to the user in given locale.
localizedIconName
start Start this action with provided urls.
start ditto, but using a single url
start ditto, but without any urls.
addCommentAfter Add comment after some node.
addCommentBefore Add comment before some node.
appendComment Add comment line into the group.
appendValue Add key-value entry without diret association of the value with the key. Can be used to add duplicates.
byIniLine
byKeyValue Iterate by Key-Value pairs. Values are left in escaped form.
byNode Iterate over nodes of internal list.
contains Check if the group contains a value associated with the key.
emptyByKeyValue Empty range of the same type as byKeyValue. Can be used in derived classes if it's needed to have an empty range.
escapedValue Get value by key in escaped form.
escapedValue Perform locale matching lookup as described in Localized values for keys.
getNode Get internal list node for key.
groupName Get name of this group.
moveLineAfter Move line after other line in the group.
moveLineBefore Move line before other line in the group.
moveLineToBack Move line to the end of group.
moveLineToFront Move line to the start of group.
prependComment Add comment line at the start of group (after group header, before any key-value pairs).
removeEntry Removes entry by key. Do nothing if no value associated with key found.
removeEntry ditto, but remove entry by localized key.
removeEntry ditto, but remove entry by node.
setEscapedValue Set value associated with key.
setEscapedValue Set value associated with key and locale.
setUnescapedValue Set value by key. The value is considered to be in the unescaped form.
setUnescapedValue ditto, localized version
unescapedValue Get value by key.
validateKey Validate key before setting value to key for this group and throw exception if not valid. Can be reimplemented in derived classes.
validateValue Validate value for key before setting value to key for this group and throw exception if not valid. Can be reimplemented in derived classes. The key is provided because you may want to implement specific checks depending on the key name.

Inner structs

NameDescription
LineNode Wrapper for internal ListMap node.

Enums

NameDescription
InvalidKeyPolicy