org.kde.koala
public class MimetypeJob extends TransferJob
See Also: MimetypeJob
UNKNOWN: A MimetypeJob is a TransferJob that allows you to get the mime type of an URL.
Constructor Summary | |
---|---|
protected | MimetypeJob(Class dummy) |
MimetypeJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo)
Do not create a MimetypeJob directly. |
Method Summary | |
---|---|
String | className() |
QMetaObject | metaObject() |
String | mimetype()
Call this in the slot connected to result,
and only after making sure no error happened. |
protected void | slotFinished() |
void | start(Slave slave)
Called by the scheduler when a slave gets to
work on this job. |
Parameters: url the url to get command the command to issue packedArgs the arguments showProgressInfo true to show progress information to the user
UNKNOWN: Do not create a MimetypeJob directly.
Returns: the mimetype of the URL
UNKNOWN: Call this in the slot connected to result, and only after making sure no error happened.
Parameters: slave the slave that works on the job
UNKNOWN: