\section{KScan\-Dialog\-Factory Class Reference}
\label{classKScanDialogFactory}\index{KScanDialogFactory@{KScanDialogFactory}}
A factory for creating a {\bf KScan\-Dialog}{\rm (p.\,\pageref{classKScanDialog})}. Factory for creating KScan\-Dialogs.  


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

Inheritance diagram for KScan\-Dialog\-Factory:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=71pt]{classKScanDialogFactory__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KScan\-Dialog\-Factory:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=102pt]{classKScanDialogFactory__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf KScan\-Dialog} $\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 KScan\-Dialog\-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{classKScanDialogFactory_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{classKScanDialogFactory_b4}

\end{CompactItemize}


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

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



Definition at line 182 of file kscan.h.

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


Creates a new KScan\-Dialog\-Factory. 

\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 110 of file kscan.cpp.

\subsection{Member Function Documentation}
\index{KScanDialogFactory@{KScan\-Dialog\-Factory}!createDialog@{createDialog}}
\index{createDialog@{createDialog}!KScanDialogFactory@{KScan\-Dialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf KScan\-Dialog}$\ast$ KScan\-Dialog\-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{classKScanDialogFactory_a1}


Your library should reimplement this method to return your {\bf KScan\-Dialog}{\rm (p.\,\pageref{classKScanDialog})} 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{KScanDialogFactory@{KScan\-Dialog\-Factory}!setName@{setName}}
\index{setName@{setName}!KScanDialogFactory@{KScan\-Dialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KScan\-Dialog\-Factory::set\-Name (const {\bf QCString} \& {\em instance\-Name})\hspace{0.3cm}{\tt  [inline, protected]}}\label{classKScanDialogFactory_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 214 of file kscan.h.\index{KScanDialogFactory@{KScan\-Dialog\-Factory}!instance@{instance}}
\index{instance@{instance}!KScanDialogFactory@{KScan\-Dialog\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KInstance}$\ast$ KScan\-Dialog\-Factory::instance () const\hspace{0.3cm}{\tt  [inline, protected]}}\label{classKScanDialogFactory_b3}


Returns the instance. 

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


Definition at line 223 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}
