summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/MimetypeJob.java
blob: 415194bff26d13d830d652036f7ab41c0258e423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
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 TQMetaObject 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();
}