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.
52 lines
1.7 KiB
52 lines
1.7 KiB
//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;
|
|
|
|
/**
|
|
|
|
A MimetypeJob is a TransferJob that allows you to get
|
|
the mime type of an URL. Don't create directly,
|
|
but use KIO.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 QMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Do not create a MimetypeJob directly. Use KIO.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();
|
|
}
|