class KDirSelectDialog

A pretty dialog for a KDirSelect control for selecting directories. More...

Definition#include <kdirselectdialog.h>
InheritsKDialogBase (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Protected Methods

Protected Members


Detailed Description

A pretty dialog for a KDirSelect control for selecting directories.

See also: KFileDialog

 KDirSelectDialog (const QString& startDir = QString::null, bool localOnly = false, QWidget *parent = 0L, const char *name = 0, bool modal = false)

KDirSelectDialog

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

Parameters:
startDirthe directory, initially shown
parentthe parent for the dialog, usually 0L
namethe QObject::name
modalif the dialog is modal or not

 ~KDirSelectDialog ()

~KDirSelectDialog

KURL  url ()

url

[const]

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

Returns: The currently-selected URL, if one was selected.

KFileTreeView *  view ()

view

[const]

bool  localOnly ()

localOnly

[const]

KURL  selectDirectory ( const QString& startDir = QString::null, bool localOnly = false, QWidget *parent = 0L, const QString& caption = QString::null)

selectDirectory

[static]

Creates a KDirSelectDialog, and returns the result.

Parameters:
startDirthe directory, initially shown The tree will display this directory and subdirectories of it.

Returns: The URL selected, or an empty URL if the user cancelled or no URL was selected.

QVBoxLayout * m_mainLayout

m_mainLayout

[protected]

QString m_startDir

m_startDir

[protected]

void  virtual_hook ( int id, void* data )

virtual_hook

[protected virtual]

Reimplemented from KDialogBase.