\section{Kate\-Cmd\-Shell\-Completion Class Reference}
\label{classKateCmdShellCompletion}\index{KateCmdShellCompletion@{KateCmdShellCompletion}}
A {\bf KCompletion} object that completes last ?unquoted? word in the string passed.  


{\tt \#include $<$katecmd.h$>$}

Inheritance diagram for Kate\-Cmd\-Shell\-Completion:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=83pt]{classKateCmdShellCompletion__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Kate\-Cmd\-Shell\-Completion:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=170pt]{classKateCmdShellCompletion__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf QString} {\bf make\-Completion} (const {\bf QString} \&text)
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf post\-Process\-Match} ({\bf QString} $\ast${\bf match}) const \label{classKateCmdShellCompletion_b0}

\item 
void {\bf post\-Process\-Matches} ({\bf QString\-List} $\ast${\bf matches}) const \label{classKateCmdShellCompletion_b1}

\item 
void {\bf post\-Process\-Matches} ({\bf KCompletion\-Matches} $\ast${\bf matches}) const \label{classKateCmdShellCompletion_b2}

\end{CompactItemize}


\subsection{Detailed Description}
A {\bf KCompletion} object that completes last ?unquoted? word in the string passed. 

Dont mistake \char`\"{}shell\char`\"{} for anything related to quoting, this simply mimics shell tab completion by completing the last word in the provided text. 



Definition at line 61 of file katecmd.h.

\subsection{Member Function Documentation}
\index{KateCmdShellCompletion@{Kate\-Cmd\-Shell\-Completion}!makeCompletion@{makeCompletion}}
\index{makeCompletion@{makeCompletion}!KateCmdShellCompletion@{Kate\-Cmd\-Shell\-Completion}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} Kate\-Cmd\-Shell\-Completion::make\-Completion (const {\bf QString} \& {\em text})\hspace{0.3cm}{\tt  [virtual]}}\label{classKateCmdShellCompletion_a1}


Finds completions to the given text. 

The first match is returned and emitted in the signal {\bf match()}. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em text}]the text to complete \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]the first match, or QString::null if not found \end{Desc}


Reimplemented from {\bf KCompletion}.

Definition at line 134 of file katecmd.cpp.

References KCompletion::make\-Completion().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
katecmd.h\item 
katecmd.cpp\end{CompactItemize}
