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

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;

/**

 A ListJob is allows you to get the get the content of a directory.
 Don't create the job directly, but use KIO.listRecursive() or
 KIO.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 QMetaObject metaObject();
	public native String className();
	/**	
		 Do not create a ListJob directly. Use KIO.listDir() or
		 KIO.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 KIO::MetaData& arg1); >>>> NOT CONVERTED
	protected native void slotResult(Job job);
	// void slotListEntries(const KIO::UDSEntryList& arg1); >>>> NOT CONVERTED
	protected native void slotRedirection(KURL url);
	// void gotEntries(KIO::Job* arg1,const KIO::UDSEntryList& arg2); >>>> NOT CONVERTED
}
