#include <kscan.h>
Inherits KLibFactory.
|
| KScanDialogFactory (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 KScanDialog.
You need to reimplement createDialog().
Factory for creating KScanDialogs
Definition at line 182 of file kscan.h.
◆ KScanDialogFactory()
KScanDialogFactory::KScanDialogFactory |
( |
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 110 of file kscan.cpp.
◆ createDialog()
virtual KScanDialog* KScanDialogFactory::createDialog |
( |
TQWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
bool |
modal = false |
|
) |
| |
|
pure virtual |
Your library should reimplement this method to return your KScanDialog 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* KScanDialogFactory::instance |
( |
| ) |
const |
|
inlineprotected |
Returns the instance.
- Returns
- the TDEInstance
Definition at line 223 of file kscan.h.
◆ setName()
void KScanDialogFactory::setName |
( |
const TQCString & |
instanceName | ) |
|
|
inlineprotected |
Creates a new instance with the given name.
- Parameters
-
instanceName | the name of the instance |
Definition at line 214 of file kscan.h.
The documentation for this class was generated from the following files: