#include <kscan.h>
Inherits KLibFactory.
|
| KOCRDialogFactory (TQObject *parent=0, const char *name=0) |
|
virtual TQObject * | createObject (TQObject *parent=0, const char *name=0, const char *className="TQObject", const TQStringList &args=TQStringList()) |
|
void | setName (const TQCString &instanceName) |
|
TDEInstance * | instance () const |
|
virtual void | virtual_hook (int id, void *data) |
|
A factory for creating a KOCRDialog.
You need to reimplement createDialog().
Factory for creating KScanDialogs
Definition at line 318 of file kscan.h.
◆ KOCRDialogFactory()
KOCRDialogFactory::KOCRDialogFactory |
( |
TQObject * |
parent = 0 , |
|
|
const char * |
name = 0 |
|
) |
| |
|
protected |
Creates a new KScanDialogFactory.
- Parameters
-
parent | the TQWidget's parent, or 0 |
name | the name of the TQObject, can be 0 |
Definition at line 143 of file kscan.cpp.
◆ createDialog()
virtual KOCRDialog* KOCRDialogFactory::createDialog |
( |
TQWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
bool |
modal = false |
|
) |
| |
|
pure virtual |
Your library should reimplement this method to return your KOCRDialog derived dialog.
- Parameters
-
parent | the TQWidget's parent, or 0 |
name | the name of the TQObject, can be 0 |
modal | if true the dialog is model |
◆ instance()
TDEInstance* KOCRDialogFactory::instance |
( |
| ) |
const |
|
inlineprotected |
Returns the instance.
- Returns
- the TDEInstance
Definition at line 359 of file kscan.h.
◆ setName()
void KOCRDialogFactory::setName |
( |
const TQCString & |
instanceName | ) |
|
|
inlineprotected |
Creates a new instance with the given name.
- Parameters
-
instanceName | the name of the instance |
Definition at line 350 of file kscan.h.
The documentation for this class was generated from the following files: