kscan.h
virtual KOCRDialog * createDialog(TQWidget *parent=0, const char *name=0, bool modal=false)=0
Your library should reimplement this method to return your KOCRDialog derived dialog.
KOCRDialogFactory(TQObject *parent=0, const char *name=0)
Creates a new KScanDialogFactory.
Definition kscan.cpp:143
void setName(const TQCString &instanceName)
Creates a new instance with the given name.
Definition kscan.h:350
KOCRDialog(int dialogFace=Tabbed, int buttonMask=Close|Help, TQWidget *parent=0L, const char *name=0, bool modal=false)
Constructs the OCR dialog.
Definition kscan.cpp:93
static KOCRDialog * getOCRDialog(TQWidget *parent=0L, const char *name=0, bool modal=false)
Creates the user's preferred OCR dialog and returns it, or 0L if no OCR-support is available.
Definition kscan.cpp:71
void textRecognized(const TQString &text, int id)
Informs you that the image with the id id has been run through text-recognition.
void setName(const TQCString &instanceName)
Creates a new instance with the given name.
Definition kscan.h:214
KScanDialogFactory(TQObject *parent=0, const char *name=0)
Creates a new KScanDialogFactory.
Definition kscan.cpp:110
virtual KScanDialog * createDialog(TQWidget *parent=0, const char *name=0, bool modal=false)=0
Your library should reimplement this method to return your KScanDialog derived dialog.
void finalImage(const TQImage &img, int id)
Informs you that an image has scanned.
void textRecognized(const TQString &text, int id)
Informs you that the image with the id id has been run through text-recognition.
KScanDialog(int dialogFace=Tabbed, int buttonMask=Close|Help, TQWidget *parent=0L, const char *name=0, bool modal=false)
Constructs the scan dialog.
Definition kscan.cpp:50
static KScanDialog * getScanDialog(TQWidget *parent=0L, const char *name=0, bool modal=false)
Creates the user's preferred scanning dialog and returns it, or 0L if no scan-support is available.
Definition kscan.cpp:28
void preview(const TQImage &img, int id)
Informs you that an image has been previewed.
virtual bool setup()
Reimplement this if you need to set up some things, before showing the dialog, e.g.
Definition kscan.cpp:62
Trinity API Reference