# class KShellCompletion

###

Module | kio
Namespace |
Class | KShellCompletion
Inherits | KUrlCompletion

This class does shell-like completion of file names. A string passed to makeCompletion() will be interpreted as a shell command line. Completion will be done on the last argument on the line. Returned matches consist of the first arguments (uncompleted) plus the completed last argument.

Shell-like completion of file names Author David Smith <dsmith@algonet.se>

### methods

- KShellCompletion ( )

  returns ctor

  Constructs a KShellCompletion object.

- makeCompletion (text)

  returns QString

  Argument | Type | Default
  --- | --- | ---
  text | QString |

  Finds completions to the given text. The first match is returned and emitted in the signal match().

  text - the text to complete Returns the first match, or QString() if not found

- postProcessMatch (match)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  match | QString |

- postProcessMatches (matches)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  matches | QStringList |

- postProcessMatches (matches)

  returns Nothing
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  matches | KCompletionMatches |