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 39 of file kdirselectdialog.h.
Constructor & Destructor Documentation
|
The constructor. Creates a dialog to select a directory (url). Definition at line 85 of file kdirselectdialog.cpp. References KListView::addColumn(), KGlobalSettings::documentPath(), KFileDialog::getStartURL(), KDialogBase::makeMainWidget(), KToggleAction::plug(), KAction::plug(), KURLCompletion::setMode(), and KDialog::spacingHint(). |
Member Function Documentation
|
Returns the currently-selected URL, or a blank URL if none is selected.
References KFileTreeView::currentURL(). Referenced by selectDirectory(). |
|
Creates a KDirSelectDialog, and returns the result.
References KDialog::setCaption(), and url(). Referenced by KFileDialog::getExistingDirectory(), KFileDialog::getExistingURL(), and KURLRequester::slotOpenDialog(). |
|
|
The documentation for this class was generated from the following files: