\section{Kate\-Mod\-On\-Hd\-Prompt Class Reference}
\label{classKateModOnHdPrompt}\index{KateModOnHdPrompt@{KateModOnHdPrompt}}
This dialog will prompt the user for what do with a file that is modified on disk.  


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

Inheritance diagram for Kate\-Mod\-On\-Hd\-Prompt:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=75pt]{classKateModOnHdPrompt__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Kate\-Mod\-On\-Hd\-Prompt:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=102pt]{classKateModOnHdPrompt__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Status} \{ {\bf Reload} = 1, 
{\bf Save}, 
{\bf Overwrite}, 
{\bf Ignore}
 \}
\end{CompactItemize}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf slot\-Diff} ()
\item 
void {\bf slot\-Ok} ()\label{classKateModOnHdPrompt_i1}

\item 
void {\bf slot\-Apply} ()\label{classKateModOnHdPrompt_i2}

\item 
void {\bf slot\-User1} ()\label{classKateModOnHdPrompt_i3}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Kate\-Mod\-On\-Hd\-Prompt} (Kate\-Document $\ast$doc, int modtype, const {\bf QString} \&reason, {\bf QWidget} $\ast$parent)\label{classKateModOnHdPrompt_a0}

\end{CompactItemize}


\subsection{Detailed Description}
This dialog will prompt the user for what do with a file that is modified on disk. 

If the file wasn't deleted, it has a 'diff' button, which will create a diff file (uing diff(1)) and launch that using {\bf KRun}. 



Definition at line 377 of file katedialogs.h.

\subsection{Member Function Documentation}
\index{KateModOnHdPrompt@{Kate\-Mod\-On\-Hd\-Prompt}!slotDiff@{slotDiff}}
\index{slotDiff@{slotDiff}!KateModOnHdPrompt@{Kate\-Mod\-On\-Hd\-Prompt}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Kate\-Mod\-On\-Hd\-Prompt::slot\-Diff ()\hspace{0.3cm}{\tt  [slot]}}\label{classKateModOnHdPrompt_i0}


Show a diff between the document text and the disk file. 

This will not close the dialog, since we still need a decision from the user. 

Definition at line 1592 of file katedialogs.cpp.

References KProc\-IO::close\-When\-Done(), KProc\-IO::set\-Comm(), KProc\-IO::start(), and KProc\-IO::write\-Stdin().

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