KFile
KFileTreeView Class Reference
The file treeview offers a treeview on the filesystem. More...
#include <kfiletreeview.h>
Inheritance diagram for KFileTreeView:

Public Slots | |
| void | setCurrentUrl (const KUrl &url) |
| void | setDirOnlyMode (bool enabled) |
| void | setRootUrl (const KUrl &url) |
| void | setShowHiddenFiles (bool enabled) |
Signals | |
| void | activated (const KUrl &url) |
| void | currentChanged (const KUrl &url) |
Public Member Functions | |
| KUrl | currentUrl () const |
| KFileTreeView (QWidget *parent=0) | |
| KUrl | rootUrl () const |
| KUrl | selectedUrl () const |
| KUrl::List | selectedUrls () const |
| ~KFileTreeView () | |
Protected Member Functions | |
| virtual void | contextMenuEvent (QContextMenuEvent *) |
Detailed Description
The file treeview offers a treeview on the filesystem.Definition at line 34 of file kfiletreeview.h.
Constructor & Destructor Documentation
| KFileTreeView::KFileTreeView | ( | QWidget * | parent = 0 |
) |
| KFileTreeView::~KFileTreeView | ( | ) |
Member Function Documentation
| void KFileTreeView::activated | ( | const KUrl & | url | ) | [signal] |
This signal is emitted whenever an url has been activated.
| void KFileTreeView::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Definition at line 182 of file kfiletreeview.cpp.
| void KFileTreeView::currentChanged | ( | const KUrl & | url | ) | [signal] |
This signal is emitted whenever the current url has been changed.
| KUrl KFileTreeView::currentUrl | ( | ) | const |
| KUrl KFileTreeView::rootUrl | ( | ) | const |
| KUrl KFileTreeView::selectedUrl | ( | ) | const |
| KUrl::List KFileTreeView::selectedUrls | ( | ) | const |
| void KFileTreeView::setCurrentUrl | ( | const KUrl & | url | ) | [slot] |
| void KFileTreeView::setDirOnlyMode | ( | bool | enabled | ) | [slot] |
Sets whether the dir-only mode is enabled.
In dir-only mode, only directories and subdirectories are listed in the view.
Definition at line 150 of file kfiletreeview.cpp.
| void KFileTreeView::setRootUrl | ( | const KUrl & | url | ) | [slot] |
Sets the root url of the view.
The default is file:///.
Definition at line 177 of file kfiletreeview.cpp.
| void KFileTreeView::setShowHiddenFiles | ( | bool | enabled | ) | [slot] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference