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

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

/**

 KFile is a class which provides a namespace for some enumerated
 values associated with the kfile library.  You will never need to
 construct a KFile object itself.
 		@short    KFile is a class which provides a namespace for some enumerated  values associated with the kfile library.

*/
public class KFile implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected KFile(Class dummy){}

	/**	
		 Modes of operation for the dialog.
		
			<li>
			<code>File</code> - Get a single file name from the user.
			</li>
			
			<li>
			<code>Directory</code> - Get a directory name from the user.
			</li>
			
			<li>
			<code>Files</code> - Get multiple file names from the user.
			</li>
			
			<li>
			<code>ExistingOnly</code> - Never return a filename which does not exist yet
			</li>
			
			<li>
			<code>LocalOnly</code> - Don't return remote filenames
			     
			</li>		@short    Modes of operation for the dialog.
	*/
	public static final int File = 1;
	public static final int Directory = 2;
	public static final int Files = 4;
	public static final int ExistingOnly = 8;
	public static final int LocalOnly = 16;
	public static final int ModeMax = 65536;

	public static final int Default = 0;
	public static final int Simple = 1;
	public static final int Detail = 2;
	public static final int SeparateDirs = 4;
	public static final int PreviewContents = 8;
	public static final int PreviewInfo = 16;
	public static final int FileViewMax = 65536;

	public static final int Single = 1;
	public static final int Multi = 2;
	public static final int Extended = 4;
	public static final int NoSelection = 8;

	public KFile() {
		newKFile();
	}
	private native void newKFile();
	public static native boolean isSortByName(int sort);
	public static native boolean isSortBySize(int sort);
	public static native boolean isSortByDate(int sort);
	public static native boolean isSortDirsFirst(int sort);
	public static native boolean isSortCaseInsensitive(int sort);
	public static native boolean isDefaultView(int view);
	public static native boolean isSimpleView(int view);
	public static native boolean isDetailView(int view);
	public static native boolean isSeparateDirs(int view);
	public static native boolean isPreviewContents(int view);
	/**	
				@short
	*/
	public static native boolean isPreviewInfo(int view);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
