class KShellCompletion

# class KShellCompletion | Shell-like completion of file names. More...
Definition | `#include <kshellcompletion.h>`
Inherits | KURLCompletion [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KShellCompletion ()
- QString makeCompletion (const QString&)

#### Protected Methods

- void postProcessMatch ( QString *match ) const
- void postProcessMatches ( QStringList *matches ) const
- void postProcessMatches ( KCompletionMatches *matches ) const
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

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.

KShellCompletion () | ### KShellCompletion

Constructs a KShellCompletion object.

QString makeCompletion (const QString&) | ### makeCompletion

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

Reimplemented from KURLCompletion.

void postProcessMatch ( QString *match ) | ### postProcessMatch

[protected const]

Reimplemented from KURLCompletion.

void postProcessMatches ( QStringList *matches ) | ### postProcessMatches

[protected const]

Reimplemented from KURLCompletion.

void postProcessMatches ( KCompletionMatches *matches ) | ### postProcessMatches

[protected const]

Reimplemented from KURLCompletion.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

Reimplemented from KURLCompletion.

- Version: $Id:
- Author: David Smith
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.