returns KUrl
|
static
|
|
Argument | Type | Default |
startDir | KUrl | KUrl() |
localOnly | bool | 0 |
parent | QWidget | 0 |
caption | QString | QString() |
|
|
Creates a KDirSelectDialog, and returns the result.
startDir - the directory, initially shown
The tree will display this directory and subdirectories of it.
localOnly - unused. You can only select paths below the startDir
parent - the parent widget to use for the dialog, or NULL to create a parent-less dialog
caption - the caption to use for the dialog, or QString() for the default caption
Returns The URL selected, or an empty URL if the user canceled
or no URL was selected.
NOTE: if you use this method and nothing else from libkfile,
then you can use KFileDialog.getExistingDirectory (if localOnly was true)
or KFileDialog.getExistingDirectoryUrl (if localOnly was false),
and then you can link to libkio only instead of libkfile.
|