//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;
import org.trinitydesktop.qt.TQWidget;

/**

 A pretty dialog for a KDirSelect control for selecting directories.
		@author Michael Jarrett <michaelj@corel.com>

		@short    A pretty dialog for a KDirSelect control for selecting directories.
		@see KFileDialog

*/
public class KDirSelectDialog extends KDialogBase  {
	protected KDirSelectDialog(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 The constructor. Creates a dialog to select a directory (url).
			@param startDir the directory, initially shown
			@param localOnly unused. You can only select paths below the startDir
			@param parent the parent for the dialog, usually null
			@param name the TQObject.name
			@param modal if the dialog is modal or not
		     		@short    The constructor.
	*/
	public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKDirSelectDialog(startDir,localOnly,parent,name,modal);
	}
	private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal);
	public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name) {
		super((Class) null);
		newKDirSelectDialog(startDir,localOnly,parent,name);
	}
	private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name);
	public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent) {
		super((Class) null);
		newKDirSelectDialog(startDir,localOnly,parent);
	}
	private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent);
	public KDirSelectDialog(String startDir, boolean localOnly) {
		super((Class) null);
		newKDirSelectDialog(startDir,localOnly);
	}
	private native void newKDirSelectDialog(String startDir, boolean localOnly);
	public KDirSelectDialog(String startDir) {
		super((Class) null);
		newKDirSelectDialog(startDir);
	}
	private native void newKDirSelectDialog(String startDir);
	public KDirSelectDialog() {
		super((Class) null);
		newKDirSelectDialog();
	}
	private native void newKDirSelectDialog();
	/**
		 Returns the currently-selected URL, or a blank URL if none is selected.
				@return The currently-selected URL, if one was selected.

		@short    Returns the currently-selected URL, or a blank URL if none is selected.
	*/
	public native KURL url();
	public native KFileTreeView view();
	public native boolean localOnly();
	/**
				@return The path for the root node

		@short
	*/
	public native String startDir();
	public native void setCurrentURL(KURL url);
	/**
		 Creates a KDirSelectDialog, and returns the result.
			@param startDir the directory, initially shown
		 The tree will display this directory and subdirectories of it.
			@param localOnly unused. You can only select paths below the startDir
			@param parent the parent widget to use for the dialog, or NULL to create a parent-less dialog
			@param caption the caption to use for the dialog, or null for the default caption
				@return The URL selected, or an empty URL if the user canceled
 or no URL was selected.

		@short    Creates a KDirSelectDialog, and returns the result.
	*/
	public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent, String caption);
	public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent);
	public static native KURL selectDirectory(String startDir, boolean localOnly);
	public static native KURL selectDirectory(String startDir);
	public static native KURL selectDirectory();
	protected native void accept();
	protected native void slotUser1();
	/** 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();
}
