.TH "KShellCompletion" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KShellCompletion \- This class does shell-like completion of file names. Shell-like completion of file names.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kshellcompletion.h>\fP
.PP
Inherits \fBKURLCompletion\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKShellCompletion\fP ()"
.br
.RI "\fIConstructs a KShellCompletion object. \fP"
.ti -1c
.RI "\fBQString\fP \fBmakeCompletion\fP (const  \fBQString\fP &)"
.br
.RI "\fIFinds completions to the given text. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBpostProcessMatch\fP (\fBQString\fP *\fBmatch\fP) const "
.br
.ti -1c
.RI "void \fBpostProcessMatches\fP (\fBQStringList\fP *\fBmatches\fP) const "
.br
.ti -1c
.RI "void \fBpostProcessMatches\fP (\fBKCompletionMatches\fP *\fBmatches\fP) const "
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
This class does shell-like completion of file names. Shell-like completion of file names. 

A string passed to \fBmakeCompletion()\fP 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.
.PP
\fBAuthor:\fP
.RS 4
David Smith <dsmith@algonet.se> 
.RE
.PP
\fBVersion:\fP
.RS 4
$Id: 
.RE
.PP

.PP
Definition at line 41 of file kshellcompletion.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KShellCompletion::KShellCompletion ()"
.PP
Constructs a KShellCompletion object. Definition at line 33 of file kshellcompletion.cpp.
.SH "Member Function Documentation"
.PP 
.SS "\fBQString\fP KShellCompletion::makeCompletion (const \fBQString\fP &)\fC [virtual]\fP"
.PP
Finds completions to the given text. The first match is returned and emitted in the signal \fBmatch()\fPReimplemented from \fBKURLCompletion\fP.
.PP
Definition at line 46 of file kshellcompletion.cpp.
.PP
References QString::length(), KURLCompletion::makeCompletion(), KURLCompletion::mode(), KURLCompletion::Mode, and KURLCompletion::setMode().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
