KDirSelectDialog Class Reference
A pretty dialog for a KDirSelect control for selecting directories. More...
#include <kdirselectdialog.h>
Inheritance diagram for KDirSelectDialog:


| Public Slots | |
| void | setCurrentURL (const KURL &url) | 
| Public Member Functions | |
| KDirSelectDialog (const QString &startDir=QString::null, bool localOnly=false, QWidget *parent=0L, const char *name=0, bool modal=false) | |
| KURL | url () const | 
| KFileTreeView * | view () const | 
| bool | localOnly () const | 
| QString | startDir () const | 
| Static Public Member Functions | |
| KURL | selectDirectory (const QString &startDir=QString::null, bool localOnly=false, QWidget *parent=0L, const QString &caption=QString::null) | 
| Protected Member Functions | |
| virtual void | accept () | 
| virtual void | virtual_hook (int id, void *data) | 
| Protected Attributes | |
| QVBoxLayout * | m_mainLayout | 
| QString | m_startDir | 
Detailed Description
A pretty dialog for a KDirSelect control for selecting directories.
- Author:
- Michael Jarrett <michaelj@corel.com>
- See also:
- KFileDialog
Definition at line 37 of file kdirselectdialog.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||||||||||||||
| The constructor. Creates a dialog to select a directory (url). Definition at line 63 of file kdirselectdialog.cpp. References KListView::addColumn(), KURL::fromPathOrURL(), KFileDialog::getStartURL(), KDialogBase::makeMainWidget(), QListView::setColumnWidthMode(), KURLCompletion::setMode(), KURL::setPath(), QListView::setResizeMode(), and KDialog::spacingHint(). | 
Member Function Documentation
| 
 | 
| Returns the currently-selected URL, or a blank URL if none is selected. 
 
 Definition at line 276 of file kdirselectdialog.cpp. References KFileTreeView::currentURL(). Referenced by selectDirectory(). | 
| 
 | ||||||||||||||||||||
| Creates a KDirSelectDialog, and returns the result. 
 
 
 Definition at line 355 of file kdirselectdialog.cpp. References QDialog::exec(), QString::isNull(), KDialog::setCaption(), and url(). Referenced by KFileDialog::getExistingDirectory(), and KFileDialog::getExistingURL(). | 
| 
 | 
| 
 
 Definition at line 84 of file kdirselectdialog.h. | 
The documentation for this class was generated from the following files:

