kio Library API Documentation

KScanDialogFactory Class Reference

A factory for creating a KScanDialog. Factory for creating KScanDialogs. More...

#include <kscan.h>

Inheritance diagram for KScanDialogFactory:

KLibFactory QObject List of all members.

Public Member Functions

virtual KScanDialogcreateDialog (QWidget *parent=0, const char *name=0, bool modal=false)=0

Protected Member Functions

 KScanDialogFactory (QObject *parent=0, const char *name=0)
virtual QObjectcreateObject (QObject *parent=0, const char *name=0, const char *classname="QObject", const QStringList &args=QStringList())
void setName (const QCString &instanceName)
KInstanceinstance () const
virtual void virtual_hook (int id, void *data)

Detailed Description

A factory for creating a KScanDialog. Factory for creating KScanDialogs.

You need to reimplement createDialog().

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

Definition at line 110 of file kscan.cpp.


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

void KScanDialogFactory::setName const QCString instanceName  )  [inline, protected]
 

Creates a new instance with the given name.

Parameters:
instanceName the name of the instance

Definition at line 214 of file kscan.h.

KInstance* KScanDialogFactory::instance  )  const [inline, protected]
 

Returns the instance.

Returns:
the KInstance

Definition at line 223 of file kscan.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.3.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Feb 18 15:10:47 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003