You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KOCRDialog.java

105 lines
3.8 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.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();
}