diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/MimetypeJob.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/MimetypeJob.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/MimetypeJob.java b/tdejava/koala/org/trinitydesktop/koala/MimetypeJob.java new file mode 100644 index 00000000..efc56109 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/MimetypeJob.java @@ -0,0 +1,51 @@ +//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; + +/** + + A MimetypeJob is a TransferJob that allows you to get + the mime type of an URL. Don't create directly, + but use TDEIO.mimetype() instead. + @short A MimetypeJob is a TransferJob that allows you to get the mime type of an URL. + @see #mimetype + +*/ +public class MimetypeJob extends TransferJob { + protected MimetypeJob(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Do not create a MimetypeJob directly. Use TDEIO.mimetype() + instead. + @param url the url to get + @param command the command to issue + @param packedArgs the arguments + @param showProgressInfo true to show progress information to the user + @short Do not create a MimetypeJob directly. + */ + public MimetypeJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo) { + super((Class) null); + newMimetypeJob(url,command,packedArgs,showProgressInfo); + } + private native void newMimetypeJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo); + /** + Call this in the slot connected to result, + and only after making sure no error happened. + @return the mimetype of the URL + + @short Call this in the slot connected to result, and only after making sure no error happened. + */ + public native String mimetype(); + /** + Called by the scheduler when a slave gets to + work on this job. + @param slave the slave that works on the job + @short + */ + public native void start(Slave slave); + protected native void slotFinished(); +} |