/***************************************************************************
                            kde_KDirSelectDialog.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KDIRSELECTDIALOG
#define KDE_KDIRSELECTDIALOG

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 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.
*/

/** 
 The constructor. Creates a dialog to select a directory (url).

*/
kde_KDirSelectDialog * kde_new_KDirSelectDialog(qt_QString * startDir, int localOnly, qt_QWidget * parent, char* name, int modal);

/** 
     
*/
void kde_del_KDirSelectDialog( kde_KDirSelectDialog* p );

/** 
 Returns the currently-selected URL, or a blank URL if none is selected.

*/
kde_KURL* kde_KDirSelectDialog_url(kde_KDirSelectDialog* instPointer);
kde_KFileTreeView* kde_KDirSelectDialog_view(kde_KDirSelectDialog* instPointer);
int kde_KDirSelectDialog_localOnly(kde_KDirSelectDialog* instPointer);

/** 
 Creates a KDirSelectDialog, and returns the result.

*/
kde_KURL* kde_KDirSelectDialog_selectDirectory( qt_QString * startDir, int localOnly, qt_QWidget * parent, qt_QString * caption);

#endif
