• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

KOCRDialogFactory Class Reference

A factory for creating a KOCRDialog. More...

#include <kscan.h>

Inheritance diagram for KOCRDialogFactory:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual KOCRDialog * createDialog (QWidget *parent=0, const char *name=0, bool modal=false)=0
virtual ~KOCRDialogFactory ()

Protected Member Functions

virtual QObject * createObject (QObject *parent=0, const char *name=0, const char *className="QObject", const QStringList &args=QStringList())
KInstance * instance () const
 KOCRDialogFactory (QObject *parent=0, const char *name=0)
void setName (const QCString &instanceName)
virtual void virtual_hook (int id, void *data)

Detailed Description

A factory for creating a KOCRDialog.

You need to reimplement createDialog(). Factory for creating KScanDialogs

Definition at line 318 of file kscan.h.


Constructor & Destructor Documentation

KOCRDialogFactory::~KOCRDialogFactory (  )  [virtual]

Definition at line 149 of file kscan.cpp.

KOCRDialogFactory::KOCRDialogFactory ( 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 143 of file kscan.cpp.


Member Function Documentation

virtual KOCRDialog* KOCRDialogFactory::createDialog ( QWidget *  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 QWidget's parent, or 0
name the name of the QObject, can be 0
modal if true the dialog is model

QObject * KOCRDialogFactory::createObject ( QObject *  parent = 0,
const char *  name = 0,
const char *  className = "QObject",
const QStringList &  args = QStringList() 
) [protected, virtual]

Definition at line 154 of file kscan.cpp.

KInstance* KOCRDialogFactory::instance (  )  const [inline, protected]

Returns the instance.

Returns:
the KInstance

Definition at line 359 of file kscan.h.

void KOCRDialogFactory::setName ( const QCString &  instanceName  )  [inline, protected]

Creates a new instance with the given name.

Parameters:
instanceName the name of the instance

Definition at line 350 of file kscan.h.

void KOCRDialogFactory::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Definition at line 181 of file kscan.cpp.


The documentation for this class was generated from the following files:
  • kscan.h
  • kscan.cpp

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal