summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/MetaInfoJob.java
blob: 64b1cbb21a8c00fc309bd63d46e6747eaadad414 (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
52
53
54
55
56
57
58
59
60
61
//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;
import java.util.ArrayList;

/**

 MetaInfoJob is a KIO Job to retrieve meta information from files.
 See {@link MetaInfoJobSignals} for signals emitted by MetaInfoJob
		@short KIO Job to retrieve meta information from files.

*/
public class MetaInfoJob extends Job  {
	protected MetaInfoJob(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Creates a new MetaInfoJob.
			@param items A list of KFileItems to get the metainfo for
			@param deleteItems If true, the finished KFileItems are deleted
		         		@short    Creates a new MetaInfoJob.
	*/
	public MetaInfoJob(ArrayList items, boolean deleteItems) {
		super((Class) null);
		newMetaInfoJob(items,deleteItems);
	}
	private native void newMetaInfoJob(ArrayList items, boolean deleteItems);
	public MetaInfoJob(ArrayList items) {
		super((Class) null);
		newMetaInfoJob(items);
	}
	private native void newMetaInfoJob(ArrayList items);
	/**	
		 Removes an item from metainfo extraction.
			@param item the item that should be removed from the queue
		         		@short    Removes an item from metainfo extraction.
	*/
	public native void removeItem(KFileItem item);
	/**	
		 Returns a list of all available metainfo plugins. The list
		 contains the basenames of the plugins' .desktop files (no path,
		 no .desktop).
				@return the list of available meta info plugins
         
		@short    Returns a list of all available metainfo plugins.
	*/
	public static native ArrayList availablePlugins();
	/**	
		 Returns a list of all supported MIME types. The list can
		 contain entries like text/  (without the space).
				@return the list of MIME types that are supported
         
		@short    Returns a list of all supported MIME types.
	*/
	public static native ArrayList supportedMimeTypes();
	protected native void getMetaInfo();
	protected native void slotResult(Job job);
}