KScanDialogFactory Class Reference
A factory for creating a KScanDialog. More...
#include <kscan.h>
Inherits KLibFactory.
Public Member Functions | |
virtual KScanDialog * | createDialog (QWidget *parent=0, const char *name=0, bool modal=false)=0 |
Protected Member Functions | |
KScanDialogFactory (QObject *parent=0, const char *name=0) | |
virtual QObject * | createObject (QObject *parent=0, const char *name=0, const char *classname="QObject", const QStringList &args=QStringList()) |
void | setName (const QCString &instanceName) |
KInstance * | instance () const |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
A factory for creating a KScanDialog.
You need to reimplement createDialog(). Factory for creating KScanDialogs
Definition at line 182 of file kscan.h.
Constructor & Destructor Documentation
KScanDialogFactory::KScanDialogFactory | ( | QObject * | parent = 0 , |
|
const char * | name = 0 | |||
) | [protected] |
Creates a new KScanDialogFactory.
- Parameters:
-
parent the QWidget's parent, or 0 name the name of the QObject, can be 0
Member Function Documentation
virtual KScanDialog* KScanDialogFactory::createDialog | ( | QWidget * | 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 QWidget's parent, or 0 name the name of the QObject, can be 0 modal if true the dialog is model
KInstance* KScanDialogFactory::instance | ( | ) | const [inline, protected] |
void KScanDialogFactory::setName | ( | const QCString & | instanceName | ) | [inline, protected] |
The documentation for this class was generated from the following files: