summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KOCRDialog.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KOCRDialog.java')
-rw-r--r--kdejava/koala/org/kde/koala/KOCRDialog.java104
1 files changed, 104 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KOCRDialog.java b/kdejava/koala/org/kde/koala/KOCRDialog.java
new file mode 100644
index 00000000..2f645fea
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KOCRDialog.java
@@ -0,0 +1,104 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QMetaObject;
+import org.kde.qt.QtSupport;
+import org.kde.qt.QWidget;
+
+/**
+
+ 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 QMetaObject 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 QWidget's parent, or 0
+ @param name the name of the QObject, 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(QWidget parent, String name, boolean modal);
+ public static native KOCRDialog getOCRDialog(QWidget parent, String name);
+ public static native KOCRDialog getOCRDialog(QWidget 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 QWidget's parent, or 0
+ @param name the name of the QObject, can be 0
+ @param modal if true the dialog is model
+ @short Constructs the OCR dialog.
+ */
+ public KOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name, boolean modal) {
+ super((Class) null);
+ newKOCRDialog(dialogFace,buttonMask,parent,name,modal);
+ }
+ private native void newKOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name, boolean modal);
+ public KOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name) {
+ super((Class) null);
+ newKOCRDialog(dialogFace,buttonMask,parent,name);
+ }
+ private native void newKOCRDialog(int dialogFace, int buttonMask, QWidget parent, String name);
+ public KOCRDialog(int dialogFace, int buttonMask, QWidget parent) {
+ super((Class) null);
+ newKOCRDialog(dialogFace,buttonMask,parent);
+ }
+ private native void newKOCRDialog(int dialogFace, int buttonMask, QWidget 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();
+}