.TH "KOCRDialogFactory" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KOCRDialogFactory \- A factory for creating a \fBKOCRDialog\fP. Factory for creating KScanDialogs.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kscan.h>\fP
.PP
Inherits \fBKLibFactory\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual \fBKOCRDialog\fP * \fBcreateDialog\fP (\fBQWidget\fP *\fBparent\fP=0, const char *\fBname\fP=0, bool modal=false)=0"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBKOCRDialogFactory\fP (\fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "virtual \fBQObject\fP * \fBcreateObject\fP (\fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0, const char *classname='QObject', const \fBQStringList\fP &args=\fBQStringList\fP())"
.br
.ti -1c
.RI "void \fBsetName\fP (const \fBQCString\fP &instanceName)"
.br
.ti -1c
.RI "\fBKInstance\fP * \fBinstance\fP () const "
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A factory for creating a \fBKOCRDialog\fP. Factory for creating KScanDialogs. 

You need to reimplement \fBcreateDialog()\fP. 
.PP
Definition at line 318 of file kscan.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KOCRDialogFactory::KOCRDialogFactory (\fBQObject\fP * parent = \fC0\fP, const char * name = \fC0\fP)\fC [protected]\fP"
.PP
Creates a new \fBKScanDialogFactory\fP. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP the QWidget's parent, or 0 
.br
\fIname\fP the name of the \fBQObject\fP, can be 0 
.RE
.PP

.PP
Definition at line 143 of file kscan.cpp.
.SH "Member Function Documentation"
.PP 
.SS "virtual \fBKOCRDialog\fP* KOCRDialogFactory::createDialog (\fBQWidget\fP * parent = \fC0\fP, const char * name = \fC0\fP, bool modal = \fCfalse\fP)\fC [pure virtual]\fP"
.PP
Your library should reimplement this method to return your \fBKOCRDialog\fP derived dialog. 
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP the QWidget's parent, or 0 
.br
\fIname\fP the name of the \fBQObject\fP, can be 0 
.br
\fImodal\fP if true the dialog is model 
.RE
.PP

.SS "void KOCRDialogFactory::setName (const \fBQCString\fP & instanceName)\fC [inline, protected]\fP"
.PP
Creates a new instance with the given name. 
.PP
\fBParameters:\fP
.RS 4
\fIinstanceName\fP the name of the instance 
.RE
.PP

.PP
Definition at line 350 of file kscan.h.
.SS "\fBKInstance\fP* KOCRDialogFactory::instance () const\fC [inline, protected]\fP"
.PP
Returns the instance. 
.PP
\fBReturns:\fP
.RS 4
the \fBKInstance\fP 
.RE
.PP

.PP
Definition at line 359 of file kscan.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
