KateCmdShellCompletion Class Reference
A KCompletion object that completes last ?unquoted? word in the string passed. More...
#include <katecmd.h>

Public Member Functions | |
| KateCmdShellCompletion () | |
| QString | makeCompletion (const QString &text) |
Protected Member Functions | |
| void | postProcessMatch (QString *match) const |
| void | postProcessMatches (KCompletionMatches *matches) const |
| void | postProcessMatches (QStringList *matches) const |
Detailed Description
A KCompletion object that completes last ?unquoted? word in the string passed.
Do not mistake "shell" for anything related to quoting, this simply mimics shell tab completion by completing the last word in the provided text.
Constructor & Destructor Documentation
| KateCmdShellCompletion::KateCmdShellCompletion | ( | ) |
Definition at line 141 of file katecmd.cpp.
Member Function Documentation
Finds completions to the given text.
The first match is returned and emitted in the signal match().
- Parameters:
-
text the text to complete
- Returns:
- the first match, or QString() if not found
Reimplemented from KCompletion.
Definition at line 150 of file katecmd.cpp.
| void KateCmdShellCompletion::postProcessMatch | ( | QString * | match | ) | const [protected, virtual] |
Reimplemented from KCompletion.
Definition at line 161 of file katecmd.cpp.
| void KateCmdShellCompletion::postProcessMatches | ( | QStringList * | matches | ) | const [protected, virtual] |
Reimplemented from KCompletion.
Definition at line 169 of file katecmd.cpp.
| void KateCmdShellCompletion::postProcessMatches | ( | KCompletionMatches * | matches | ) | const [protected, virtual] |
Reimplemented from KCompletion.
Definition at line 177 of file katecmd.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference