//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.TQt;
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();
}
