org.kde.koala

Class KDirSelectDialog

public class KDirSelectDialog extends KDialogBase

A pretty dialog for a KDirSelect control for selecting directories.

Author: Michael Jarrett

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 voidaccept()
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanlocalOnly()
QMetaObjectmetaObject()
static KURLselectDirectory(String startDir, boolean localOnly, QWidget parent, String caption)
Creates a KDirSelectDialog, and returns the result.
static KURLselectDirectory(String startDir, boolean localOnly, QWidget parent)
static KURLselectDirectory(String startDir, boolean localOnly)
static KURLselectDirectory(String startDir)
static KURLselectDirectory()
voidsetCurrentURL(KURL url)
protected voidslotUser1()
StringstartDir()
KURLurl()
Returns the currently-selected URL, or a blank URL if none is selected.
KFileTreeViewview()

Constructor Detail

KDirSelectDialog

protected KDirSelectDialog(Class dummy)

KDirSelectDialog

public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name, boolean modal)
The constructor. Creates a dialog to select a directory (url).

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.

KDirSelectDialog

public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent, String name)

KDirSelectDialog

public KDirSelectDialog(String startDir, boolean localOnly, QWidget parent)

KDirSelectDialog

public KDirSelectDialog(String startDir, boolean localOnly)

KDirSelectDialog

public KDirSelectDialog(String startDir)

KDirSelectDialog

public KDirSelectDialog()

Method Detail

accept

protected void accept()

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

localOnly

public boolean localOnly()

metaObject

public QMetaObject metaObject()

selectDirectory

public static KURL selectDirectory(String startDir, boolean localOnly, QWidget parent, String caption)
Creates a KDirSelectDialog, and returns the result.

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.

selectDirectory

public static KURL selectDirectory(String startDir, boolean localOnly, QWidget parent)

selectDirectory

public static KURL selectDirectory(String startDir, boolean localOnly)

selectDirectory

public static KURL selectDirectory(String startDir)

selectDirectory

public static KURL selectDirectory()

setCurrentURL

public void setCurrentURL(KURL url)

slotUser1

protected void slotUser1()

startDir

public String startDir()

Returns: The path for the root node

UNKNOWN:

url

public KURL url()
Returns the currently-selected URL, or a blank URL if none is selected.

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

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

view

public KFileTreeView view()