\section{Kate::Document\-Ext Class Reference}
\label{classKate_1_1DocumentExt}\index{Kate::DocumentExt@{Kate::DocumentExt}}
Extensions to the {\bf Document}{\rm (p.\,\pageref{classKate_1_1Document})} Interface \begin{Desc}
\item[Since:]3.3. \end{Desc}
 


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

\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Modified\-On\-Disk\-Reason} \{ {\bf Unmodified} =  0, 
{\bf Modified} =  1, 
{\bf Created} =  2, 
{\bf Deleted} =  3
 \}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf set\-Modified\-On\-Disk} (int reason)=0
\item 
virtual void {\bf slot\-Modified\-On\-Disk} ({\bf View} $\ast$v=0)=0
\end{CompactItemize}


\subsection{Detailed Description}
Extensions to the {\bf Document}{\rm (p.\,\pageref{classKate_1_1Document})} Interface \begin{Desc}
\item[Since:]3.3. \end{Desc}




Definition at line 347 of file document.h.

\subsection{Member Enumeration Documentation}
\index{Kate::DocumentExt@{Kate::Document\-Ext}!ModifiedOnDiskReason@{ModifiedOnDiskReason}}
\index{ModifiedOnDiskReason@{ModifiedOnDiskReason}!Kate::DocumentExt@{Kate::Document\-Ext}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Kate::Document\-Ext::Modified\-On\-Disk\-Reason}}\label{classKate_1_1DocumentExt_w4}


Reasons why a document is modified on disk. 

\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{Unmodified@{Unmodified}!Kate::DocumentExt@{Kate::DocumentExt}}\index{Kate::DocumentExt@{Kate::DocumentExt}!Unmodified@{Unmodified}}\item[{\em 
Unmodified\label{classKate_1_1DocumentExt_w4w0}
}]Not modified. \index{Modified@{Modified}!Kate::DocumentExt@{Kate::DocumentExt}}\index{Kate::DocumentExt@{Kate::DocumentExt}!Modified@{Modified}}\item[{\em 
Modified\label{classKate_1_1DocumentExt_w4w1}
}]The file was modified by another program. \index{Created@{Created}!Kate::DocumentExt@{Kate::DocumentExt}}\index{Kate::DocumentExt@{Kate::DocumentExt}!Created@{Created}}\item[{\em 
Created\label{classKate_1_1DocumentExt_w4w2}
}]The file was created by another program. \index{Deleted@{Deleted}!Kate::DocumentExt@{Kate::DocumentExt}}\index{Kate::DocumentExt@{Kate::DocumentExt}!Deleted@{Deleted}}\item[{\em 
Deleted\label{classKate_1_1DocumentExt_w4w3}
}]The file was deleted. \end{description}
\end{Desc}



Definition at line 359 of file document.h.

\subsection{Member Function Documentation}
\index{Kate::DocumentExt@{Kate::Document\-Ext}!setModifiedOnDisk@{setModifiedOnDisk}}
\index{setModifiedOnDisk@{setModifiedOnDisk}!Kate::DocumentExt@{Kate::Document\-Ext}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void Kate::Document\-Ext::set\-Modified\-On\-Disk (int {\em reason})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKate_1_1DocumentExt_a2}


For client apps that want to deal with files modified on disk, it is nessecary to reset this property. 

{\tt reason} is a Modified\-On\-Disk\-Reason. \index{Kate::DocumentExt@{Kate::Document\-Ext}!slotModifiedOnDisk@{slotModifiedOnDisk}}
\index{slotModifiedOnDisk@{slotModifiedOnDisk}!Kate::DocumentExt@{Kate::Document\-Ext}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void Kate::Document\-Ext::slot\-Modified\-On\-Disk ({\bf View} $\ast$ {\em v} = {\tt 0})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKate_1_1DocumentExt_a3}


Ask the user what to do, if the file is modified on disk. 

The {\tt v} argument is used to avoid asking again, when the editor regains focus after the dialog is hidden. 

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