//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 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
}
