diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/KOCRDialog.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/KOCRDialog.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KOCRDialog.java | 104 |
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(); +} |