\section{Kate\-Commands::Core\-Commands Class Reference}
\label{classKateCommands_1_1CoreCommands}\index{KateCommands::CoreCommands@{KateCommands::CoreCommands}}
This {\bf Kate::Command}{\rm (p.\,\pageref{classKate_1_1Command})} provides access to a lot of the core functionality of kate part, settings, utilities, navigation etc.  


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

Inheritance diagram for Kate\-Commands::Core\-Commands:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=137pt]{classKateCommands_1_1CoreCommands__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Kate\-Commands::Core\-Commands:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=137pt]{classKateCommands_1_1CoreCommands__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf exec} (class {\bf Kate::View} $\ast$view, const {\bf QString} \&cmd, {\bf QString} \&error\-Msg)
\item 
bool {\bf help} (class {\bf Kate::View} $\ast$, const {\bf QString} \&, {\bf QString} \&)\label{classKateCommands_1_1CoreCommands_a1}

\item 
{\bf QString\-List} {\bf cmds} ()
\item 
{\bf KCompletion} $\ast$ {\bf completion\-Object} (const {\bf QString} \&, {\bf Kate::View} $\ast$)
\end{CompactItemize}


\subsection{Detailed Description}
This {\bf Kate::Command}{\rm (p.\,\pageref{classKate_1_1Command})} provides access to a lot of the core functionality of kate part, settings, utilities, navigation etc. 

it needs to get a kateview pointer, it will cast the kate::view pointer hard to kateview 



Definition at line 39 of file katecmds.h.

\subsection{Member Function Documentation}
\index{KateCommands::CoreCommands@{Kate\-Commands::Core\-Commands}!exec@{exec}}
\index{exec@{exec}!KateCommands::CoreCommands@{Kate\-Commands::Core\-Commands}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool Kate\-Commands::Core\-Commands::exec (class {\bf Kate::View} $\ast$ {\em view}, const {\bf QString} \& {\em cmd}, {\bf QString} \& {\em error\-Msg})}\label{classKateCommands_1_1CoreCommands_a0}


execute command 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em view}]view to use for execution \item[{\em cmd}]cmd string \item[{\em error\-Msg}]error to return if no success \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]success \end{Desc}


Definition at line 84 of file katecmds.cpp.\index{KateCommands::CoreCommands@{Kate\-Commands::Core\-Commands}!cmds@{cmds}}
\index{cmds@{cmds}!KateCommands::CoreCommands@{Kate\-Commands::Core\-Commands}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString\-List} Kate\-Commands::Core\-Commands::cmds ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKateCommands_1_1CoreCommands_a2}


supported commands as prefixes 

\begin{Desc}
\item[Returns:]prefix list \end{Desc}


Implements {\bf Kate::Command} {\rm (p.\,\pageref{classKate_1_1Command_a2})}.

Definition at line 68 of file katecmds.cpp.\index{KateCommands::CoreCommands@{Kate\-Commands::Core\-Commands}!completionObject@{completionObject}}
\index{completionObject@{completionObject}!KateCommands::CoreCommands@{Kate\-Commands::Core\-Commands}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KCompletion} $\ast$ Kate\-Commands::Core\-Commands::completion\-Object (const {\bf QString} \& {\em cmd}, {\bf Kate::View} $\ast$ {\em view})\hspace{0.3cm}{\tt  [virtual]}}\label{classKateCommands_1_1CoreCommands_a3}


\begin{Desc}
\item[Returns:]a {\bf KCompletion} object that will substitute the command line default one while typing the first argument to the command. The text will be added to the command seperated by one space character.\end{Desc}
Implement this method if your command can provide a completion object.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em cmdname}]The command name associated with this request. \end{description}
\end{Desc}


Reimplemented from {\bf Kate::Command\-Extension} {\rm (p.\,\pageref{classKate_1_1CommandExtension_a3})}.

Definition at line 265 of file katecmds.cpp.

References KCompletion::set\-Ignore\-Case(), and KCompletion::set\-Items().

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