org.kde.koala
public class KFileTreeBranch extends KDirLister
UNKNOWN: Branch object for KFileTreeView object.
Constructor Summary | |
---|---|
protected | KFileTreeBranch(Class dummy) |
KFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix, boolean showHidden, KFileTreeViewItem branchRoot)
constructs a branch for KFileTreeView. | |
KFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix, boolean showHidden) | |
KFileTreeBranch(KFileTreeView arg1, KURL url, String name, QPixmap pix) |
Method Summary | |
---|---|
boolean | childRecurse() |
String | className() |
protected KFileTreeViewItem | createTreeViewItem(KFileTreeViewItem parent, KFileItem fileItem)
allocates a KFileTreeViewItem for the branch
for new items. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
KFileTreeViewItem | findTVIByURL(KURL arg1)
find the according KFileTreeViewItem by an url |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
String | name() |
QPixmap | openPixmap() |
QPixmap | pixmap() |
boolean | populate(KURL url, KFileTreeViewItem currItem)
populates a branch. |
KFileTreeViewItem | root() |
KURL | rootUrl() |
void | setChildRecurse(boolean t)
sets if children recursion is wanted or not. |
void | setChildRecurse() |
void | setName(String n)
sets the name of the branch. |
void | setOpen(boolean setopen)
sets the root of the branch open or closed. |
void | setOpen() |
void | setOpenPixmap(QPixmap pix) |
void | setRoot(KFileTreeViewItem r)
sets a KFileTreeViewItem as root widget for the branch.
|
void | setShowExtensions(boolean visible)
sets printing of the file extensions on or off. |
void | setShowExtensions() |
boolean | showExtensions() |
Parameters: url start url of the branch. name the name of the branch, which is displayed in the first column of the treeview. pix is a pixmap to display as an icon of the branch. showHidden flag to make hidden files visible or not. branchRoot is the KFileTreeViewItem to use as the root of the branch, with the default 0 meaning to let KFileTreeBranch create it for you.
UNKNOWN: constructs a branch for KFileTreeView.
UNKNOWN: allocates a KFileTreeViewItem for the branch for new items.
UNKNOWN: find the according KFileTreeViewItem by an url
Returns: the name of the branch.
UNKNOWN:
Parameters: url is the url of the root item where the branch starts. currItem is the current parent.
UNKNOWN: populates a branch.
Returns: the root item.
UNKNOWN:
Returns: the root url of the branch.
UNKNOWN:
Parameters: t set to true to switch on child recursion
UNKNOWN: sets if children recursion is wanted or not.
UNKNOWN: sets the name of the branch.
UNKNOWN: sets the root of the branch open or closed.
Parameters: r the KFileTreeViewItem to become the root item.
UNKNOWN: sets a KFileTreeViewItem as root widget for the branch.
Parameters: visible flags if the extensions should be visible or not.
UNKNOWN: sets printing of the file extensions on or off.
Returns: whether the items in the branch show their file extensions in the tree or not. See setShowExtensions for more information.
UNKNOWN: