\section{KOCRDialog\-Factory Class Reference}
\label{classKOCRDialogFactory}\index{KOCRDialogFactory@{KOCRDialogFactory}}
A factory for creating a {\bf KOCRDialog}{\rm (p.\,\pageref{classKOCRDialog})}. Factory for creating KScan\-Dialogs.  


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

Inheritance diagram for KOCRDialog\-Factory:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=71pt]{classKOCRDialogFactory__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KOCRDialog\-Factory:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=103pt]{classKOCRDialogFactory__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf KOCRDialog} $\ast$ {\bf create\-Dialog} ({\bf QWidget} $\ast${\bf parent}=0, const char $\ast${\bf name}=0, bool modal=false)=0
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf KOCRDialog\-Factory} ({\bf QObject} $\ast${\bf parent}=0, const char $\ast${\bf name}=0)
\item 
virtual {\bf QObject} $\ast$ {\bf create\-Object} ({\bf QObject} $\ast${\bf parent}=0, const char $\ast${\bf name}=0, const char $\ast$classname=\char`\"{}QObject\char`\"{}, const {\bf QString\-List} \&args={\bf QString\-List}())\label{classKOCRDialogFactory_b1}

\item 
void {\bf set\-Name} (const {\bf QCString} \&instance\-Name)
\item 
{\bf KInstance} $\ast$ {\bf instance} () const 
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKOCRDialogFactory_b4}

\end{CompactItemize}


\subsection{Detailed Description}
A factory for creating a {\bf KOCRDialog}{\rm (p.\,\pageref{classKOCRDialog})}. Factory for creating KScan\-Dialogs. 

You need to reimplement {\bf create\-Dialog()}{\rm (p.\,\pageref{classKOCRDialogFactory_a1})}. 



Definition at line 318 of file kscan.h.

\subsection{Constructor \& Destructor Documentation}
\index{KOCRDialogFactory@{KOCRDialog\-Factory}!KOCRDialogFactory@{KOCRDialogFactory}}
\index{KOCRDialogFactory@{KOCRDialogFactory}!KOCRDialogFactory@{KOCRDialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KOCRDialog\-Factory::KOCRDialog\-Factory ({\bf QObject} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})\hspace{0.3cm}{\tt  [protected]}}\label{classKOCRDialogFactory_b0}


Creates a new {\bf KScan\-Dialog\-Factory}{\rm (p.\,\pageref{classKScanDialogFactory})}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]the QWidget's parent, or 0 \item[{\em name}]the name of the {\bf QObject}, can be 0 \end{description}
\end{Desc}


Definition at line 143 of file kscan.cpp.

\subsection{Member Function Documentation}
\index{KOCRDialogFactory@{KOCRDialog\-Factory}!createDialog@{createDialog}}
\index{createDialog@{createDialog}!KOCRDialogFactory@{KOCRDialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf KOCRDialog}$\ast$ KOCRDialog\-Factory::create\-Dialog ({\bf QWidget} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0}, bool {\em modal} = {\tt false})\hspace{0.3cm}{\tt  [pure virtual]}}\label{classKOCRDialogFactory_a1}


Your library should reimplement this method to return your {\bf KOCRDialog}{\rm (p.\,\pageref{classKOCRDialog})} derived dialog. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]the QWidget's parent, or 0 \item[{\em name}]the name of the {\bf QObject}, can be 0 \item[{\em modal}]if true the dialog is model \end{description}
\end{Desc}
\index{KOCRDialogFactory@{KOCRDialog\-Factory}!setName@{setName}}
\index{setName@{setName}!KOCRDialogFactory@{KOCRDialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KOCRDialog\-Factory::set\-Name (const {\bf QCString} \& {\em instance\-Name})\hspace{0.3cm}{\tt  [inline, protected]}}\label{classKOCRDialogFactory_b2}


Creates a new instance with the given name. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em instance\-Name}]the name of the instance \end{description}
\end{Desc}


Definition at line 350 of file kscan.h.\index{KOCRDialogFactory@{KOCRDialog\-Factory}!instance@{instance}}
\index{instance@{instance}!KOCRDialogFactory@{KOCRDialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KInstance}$\ast$ KOCRDialog\-Factory::instance () const\hspace{0.3cm}{\tt  [inline, protected]}}\label{classKOCRDialogFactory_b3}


Returns the instance. 

\begin{Desc}
\item[Returns:]the {\bf KInstance} \end{Desc}


Definition at line 359 of file kscan.h.

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