org.kde.koala
public class KFileTreeView extends KListView
UNKNOWN: The filetreeview offers a treeview on the file system which behaves like a QTreeView showing files and/or directories in the file system.
| Constructor Summary | |
|---|---|
| protected | KFileTreeView(Class dummy) |
| KFileTreeView(QWidget parent, String name) | |
| KFileTreeView(QWidget parent) | |
| Method Summary | |
|---|---|
| protected boolean | acceptDrag(QDropEvent event) |
| KFileTreeBranch | addBranch(KURL path, String name, boolean showHidden)
Adds a branch to the treeview item.
|
| KFileTreeBranch | addBranch(KURL path, String name) |
| KFileTreeBranch | addBranch(KURL path, String name, QPixmap pix, boolean showHidden)
same as the function above but with a pixmap to set for the branch. |
| KFileTreeBranch | addBranch(KURL path, String name, QPixmap pix) |
| KFileTreeBranch | addBranch(KFileTreeBranch arg1)
same as the function above but letting the user create the branch. |
| KFileTreeBranch | branch(String searchName) |
| String | className() |
| protected void | contentsDragEnterEvent(QDragEnterEvent e) |
| protected void | contentsDragLeaveEvent(QDragLeaveEvent e) |
| protected void | contentsDragMoveEvent(QDragMoveEvent e) |
| protected void | contentsDropEvent(QDropEvent ev) |
| KFileTreeViewItem | currentKFileTreeViewItem() |
| KURL | currentURL() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected QDragObject | dragObject() |
| protected void | finalize() Deletes the wrapped C++ instance |
| KFileTreeViewItem | findItem(KFileTreeBranch brnch, String relUrl)
searches a branch for a KFileTreeViewItem identified by the relative url given as
second parameter. |
| KFileTreeViewItem | findItem(String branchName, String relUrl)
see method above, differs only in the first parameter. |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| protected QPixmap | itemIcon(KFileTreeViewItem arg1, int gap) |
| protected QPixmap | itemIcon(KFileTreeViewItem arg1) |
| QMetaObject | metaObject() |
| boolean | removeBranch(KFileTreeBranch branch)
removes the branch from the treeview. |
| void | setDirOnlyMode(KFileTreeBranch branch, boolean arg2)
set the directory mode for branches. |
| void | setShowFolderOpenPixmap(boolean showIt)
set the flag to show 'extended' folder icons on or off. |
| void | setShowFolderOpenPixmap() |
| boolean | showFolderOpenPixmap() |
| protected void | slotSetNextUrlToSelect(KURL url) |
| protected void | startAnimation(KFileTreeViewItem item, String iconBaseName, int iconCount) |
| protected void | startAnimation(KFileTreeViewItem item, String iconBaseName) |
| protected void | startAnimation(KFileTreeViewItem item) |
| protected void | stopAnimation(KFileTreeViewItem item) |
Returns: true if we can decode the drag and support the action
UNKNOWN:
Parameters: path is the base url of the branch name is the name of the branch, which will be the text for column 0 showHidden says if hidden files and directories should be visible
Returns: a pointer to the new branch or zero
UNKNOWN: Adds a branch to the treeview item.
UNKNOWN: same as the function above but with a pixmap to set for the branch.
UNKNOWN: same as the function above but letting the user create the branch.
Parameters: searchName is the name of a branch
Returns: a pointer to the KFileTreeBranch in the KFileTreeView or zero on failure.
UNKNOWN:
Returns: the current (i.e. selected) item
UNKNOWN:
Returns: the URL of the current selected item.
UNKNOWN:
Parameters: brnch is a pointer to the branch to search in relUrl is the branch relativ url
Returns: a pointer to the item or zero if the item does not exist.
UNKNOWN: searches a branch for a KFileTreeViewItem identified by the relative url given as second parameter.
UNKNOWN: see method above, differs only in the first parameter.
Parameters: branch is a pointer to the branch
Returns: true on success.
UNKNOWN: removes the branch from the treeview.
Parameters: branch is a pointer to a KFileTreeBranch
UNKNOWN: set the directory mode for branches.
Parameters: showIt = false displays mime type pixmap only
UNKNOWN: set the flag to show 'extended' folder icons on or off.
Returns: a flag indicating if extended folder pixmaps are displayed or not.
UNKNOWN: