org.kde.koala
public class KDirSelectDialog extends KDialogBase
See Also: KFileDialog
UNKNOWN: A pretty dialog for a KDirSelect control for selecting directories.
Constructor Summary | |
---|---|
protected | KDirSelectDialog(Class dummy) |
KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name, boolean modal)
The constructor. | |
KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name) | |
KDirSelectDialog(String startDir, boolean localOnly, QWidget parent) | |
KDirSelectDialog(String startDir, boolean localOnly) | |
KDirSelectDialog(String startDir) | |
KDirSelectDialog() |
Method Summary | |
---|---|
protected void | accept() |
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | localOnly() |
QMetaObject | metaObject() |
static KURL | selectDirectory(String startDir, boolean localOnly, QWidget parent, String caption)
Creates a KDirSelectDialog, and returns the result. |
static KURL | selectDirectory(String startDir, boolean localOnly, QWidget parent) |
static KURL | selectDirectory(String startDir, boolean localOnly) |
static KURL | selectDirectory(String startDir) |
static KURL | selectDirectory() |
void | setCurrentURL(KURL url) |
protected void | slotUser1() |
String | startDir() |
KURL | url()
Returns the currently-selected URL, or a blank URL if none is selected. |
KFileTreeView | view() |
Parameters: startDir the directory, initially shown localOnly unused. You can only select paths below the startDir parent the parent for the dialog, usually null name the QObject.name modal if the dialog is modal or not
UNKNOWN: The constructor.
Parameters: 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 null for the default caption
Returns: The URL selected, or an empty URL if the user canceled or no URL was selected.
UNKNOWN: Creates a KDirSelectDialog, and returns the result.
Returns: The path for the root node
UNKNOWN:
Returns: The currently-selected URL, if one was selected.
UNKNOWN: Returns the currently-selected URL, or a blank URL if none is selected.