summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/ListJob.java
blob: a0eaa1fc7da8dba1c329ff8effc67eafec1aefb2 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;

/**

 A ListJob is allows you to get the get the content of a directory.
 Don't create the job directly, but use TDEIO.listRecursive() or
 TDEIO.listDir() instead.
 See {@link ListJobSignals} for signals emitted by ListJob
		@short    A ListJob is allows you to get the get the content of a directory.
		@see #listRecursive
		@see #listDir

*/
public class ListJob extends SimpleJob  {
	protected ListJob(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Do not create a ListJob directly. Use TDEIO.listDir() or
		 TDEIO.listRecursive() instead.
			@param url the url of the directory
			@param showProgressInfo true to show progress information to the user
			@param recursive true to get the data recursively from child directories,
		        false to get only the content of the specified dir
			@param prefix the prefix of the files, or null for no prefix
			@param includeHidden true to include hidden files (those starting with '.')
					@short    Do not create a ListJob directly.
	*/
	public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden) {
		super((Class) null);
		newListJob(url,showProgressInfo,recursive,prefix,includeHidden);
	}
	private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix, boolean includeHidden);
	public ListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix) {
		super((Class) null);
		newListJob(url,showProgressInfo,recursive,prefix);
	}
	private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive, String prefix);
	public ListJob(KURL url, boolean showProgressInfo, boolean recursive) {
		super((Class) null);
		newListJob(url,showProgressInfo,recursive);
	}
	private native void newListJob(KURL url, boolean showProgressInfo, boolean recursive);
	public ListJob(KURL url, boolean showProgressInfo) {
		super((Class) null);
		newListJob(url,showProgressInfo);
	}
	private native void newListJob(KURL url, boolean showProgressInfo);
	/**
			 Called by the scheduler when a <code>slave</code> gets to
		 work on this job.
			@param slave the slave that starts working on this job
		         		@short
	*/
	public native void start(Slave slave);
	/**
		 Returns the ListJob's redirection URL. This will be invalid if there
		 was no redirection.
				@return the redirection url

		@short    Returns the ListJob's redirection URL.
	*/
	public native KURL redirectionURL();
	/**
		 Do not apply any KIOSK restrictions to this job.
				@short    Do not apply any KIOSK restrictions to this job.
	*/
	public native void setUnrestricted(boolean unrestricted);
	protected native void slotFinished();
	// void slotMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED
	protected native void slotResult(Job job);
	// void slotListEntries(const TDEIO::UDSEntryList& arg1); >>>> NOT CONVERTED
	protected native void slotRedirection(KURL url);
	// void gotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED
}