diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KOCRDialog.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KOCRDialog.java | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KOCRDialog.java b/tdejava/koala/org/trinitydesktop/koala/KOCRDialog.java new file mode 100644 index 00000000..30b668db --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KOCRDialog.java @@ -0,0 +1,104 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQWidget; + +/** + + Base class for OCR Dialogs. + See {@link KOCRDialogSignals} for signals emitted by KOCRDialog + @short Base class for OCR Dialogs. + +*/ +public class KOCRDialog extends KDialogBase { + protected KOCRDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Creates the user's preferred OCR dialog and returns it, + or null if no OCR-support + is available. Pass a suitable <code>parent</code> widget, if you like. If you + don't you have to 'delete' the returned pointer yourself. + @param parent the TQWidget's parent, or 0 + @param name the name of the TQObject, can be 0 + @param modal if true the dialog is model + @return the KOCRDialog, or 0 if the function failed + + @short Creates the user's preferred OCR dialog and returns it, or 0L if no OCR-support is available. + */ + public static native KOCRDialog getOCRDialog(TQWidget parent, String name, boolean modal); + public static native KOCRDialog getOCRDialog(TQWidget parent, String name); + public static native KOCRDialog getOCRDialog(TQWidget parent); + public static native KOCRDialog getOCRDialog(); + /** + Constructs the OCR dialog. If you implement an own dialog, you can + customize it with the usual KDialogBase flags. + @param dialogFace the KDialogBase.DialogType + @param buttonMask a ORed mask of all buttons (see + KDialogBase.ButtonCode) + @param parent the TQWidget's parent, or 0 + @param name the name of the TQObject, can be 0 + @param modal if true the dialog is model + @short Constructs the OCR dialog. + */ + public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal) { + super((Class) null); + newKOCRDialog(dialogFace,buttonMask,parent,name,modal); + } + private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name, boolean modal); + public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name) { + super((Class) null); + newKOCRDialog(dialogFace,buttonMask,parent,name); + } + private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent, String name); + public KOCRDialog(int dialogFace, int buttonMask, TQWidget parent) { + super((Class) null); + newKOCRDialog(dialogFace,buttonMask,parent); + } + private native void newKOCRDialog(int dialogFace, int buttonMask, TQWidget parent); + public KOCRDialog(int dialogFace, int buttonMask) { + super((Class) null); + newKOCRDialog(dialogFace,buttonMask); + } + private native void newKOCRDialog(int dialogFace, int buttonMask); + public KOCRDialog(int dialogFace) { + super((Class) null); + newKOCRDialog(dialogFace); + } + private native void newKOCRDialog(int dialogFace); + public KOCRDialog() { + super((Class) null); + newKOCRDialog(); + } + private native void newKOCRDialog(); + /** + Returns the current id for an image. You can use that in your subclass + for the signals. The id is used in the signals to let people know + which text-recognition belongs to which scan. + @return the current id for the image + + @short Returns the current id for an image. + @see #nextId + @see #textRecognized + */ + protected native int id(); + /** + Returns the id for the next image. You can use that in your subclass + for the signals. + @return the id for the next image + + @short Returns the id for the next image. + @see #id + @see #textRecognized + */ + protected native int nextId(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |