org.kde.koala

Class MimetypeJob

public class MimetypeJob extends TransferJob

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.

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
StringclassName()
QMetaObjectmetaObject()
Stringmimetype()
Call this in the slot connected to result, and only after making sure no error happened.
protected voidslotFinished()
voidstart(Slave slave)
Called by the scheduler when a slave gets to work on this job.

Constructor Detail

MimetypeJob

protected MimetypeJob(Class dummy)

MimetypeJob

public MimetypeJob(KURL url, int command, byte[] packedArgs, boolean showProgressInfo)
Do not create a MimetypeJob directly. Use KIO.mimetype() instead.

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.

Method Detail

className

public String className()

metaObject

public QMetaObject metaObject()

mimetype

public String mimetype()
Call this in the slot connected to result, and only after making sure no error happened.

Returns: the mimetype of the URL

UNKNOWN: Call this in the slot connected to result, and only after making sure no error happened.

slotFinished

protected void slotFinished()

start

public void start(Slave slave)
Called by the scheduler when a slave gets to work on this job.

Parameters: slave the slave that works on the job

UNKNOWN: