org.kde.koala

Interface KScanDialogSignals

public interface KScanDialogSignals

Method Summary
voidfinalImage(QImage img, int id)
Informs you that an image has scanned.
voidpreview(QImage img, int id)
Informs you that an image has been previewed.
voidtextRecognized(String text, int id)
Informs you that the image with the id id has been run through text-recognition.

Method Detail

finalImage

public void finalImage(QImage img, int id)
Informs you that an image has scanned. id is the same as in the preview() signal, if this image had been previewed before. Note, that those id's may not be properly implemented in the current libkscan.

Parameters: img the image id the image's id

UNKNOWN: Informs you that an image has scanned.

preview

public void preview(QImage img, int id)
Informs you that an image has been previewed.

Parameters: img the image id the image's id

UNKNOWN: Informs you that an image has been previewed.

textRecognized

public void textRecognized(String text, int id)
Informs you that the image with the id id has been run through text-recognition. The text is in the String parameter. In the future, a compound document, using rich text will be used instead.

Parameters: text the text that has been recognized id the id of the image

UNKNOWN: Informs you that the image with the id id has been run through text-recognition.