FileTreeWidget Class Reference
This is FileTree widget for listing files belonging to the project. More...
#include <filetreewidget.h>
Inheritance diagram for FileTreeWidget:


Detailed Description
This is FileTree widget for listing files belonging to the project.It does feature:
- dynamic updates reflecting the state of the project dir and subdirs
- VCS support for showing VCS fields like state, working and repository revisions
- bolding the filenames belonging to project to distinguish them from the others
- dynamic filtering so the user has not to care about temporary files eating screen space ;-)
Design notes The class uses two different implementations (referred by m_impl data member):
- See also:
- VCSFileTreeWidgetImpl for VCS support VCS support is detencted by the constructor looking for the
KDevPlugin::versionControl() member: if the current VCS plug-in does offer a
KDevVCSFileInfoProvider object than this will be used for querying about files' data. If neither VCS plugin nor valid info provider is found then the filetreeview will fallback to the standard implementation
- See also:
- StdFileTreeWidgetImpl for standard visualization, just like the KFileTreeView
Definition at line 47 of file filetreewidget.h.
Constructor & Destructor Documentation
|
|
Definition at line 98 of file filetreewidget.cpp. References hidePatterns(), kdDebug(), m_part, KDevPlugin::projectDom(), and DomUtil::writeEntry(). |
Member Function Documentation
|
Definition at line 227 of file filetreewidget.cpp. References file, kdDebug(), m_projectFiles, projectDirectory(), and filetreeview::FileTreeViewItem::setProjectFile(). Referenced by FileTreeWidget(), and openDirectory(). |
|
Definition at line 275 of file filetreewidget.cpp. References hideOrShow(), and m_hidePatterns. Referenced by PartWidget::showProjectFiles(), and PartWidget::slotFilterChange(). |
|
Definition at line 159 of file filetreewidget.cpp. References filetreeview::FileTreeViewItem::hideOrShow(). Referenced by applyHidePatterns(), and FileTreeViewWidgetImpl::slotToggleShowNonProjectFiles(). |
|
Definition at line 283 of file filetreewidget.cpp. References m_hidePatterns. Referenced by PartWidget::PartWidget(), PartWidget::showProjectFiles(), and ~FileTreeWidget(). |
|
Definition at line 145 of file filetreewidget.cpp. References m_hidePatterns. Referenced by shouldBeShown(). |
|
|
Definition at line 60 of file filetreewidget.h. Referenced by versionControl(). |
|
Definition at line 213 of file filetreewidget.cpp. References m_part, KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by addProjectFiles(), VCSFileTreeBranchItem::createTreeViewItem(), FileTreeWidget(), and slotImplementationInvalidated(). |
|
Definition at line 220 of file filetreewidget.cpp. Referenced by VCSFileTreeBranchItem::createTreeViewItem(), and StdFileTreeBranchItem::createTreeViewItem(). |
|
Definition at line 254 of file filetreewidget.cpp. References file, kdDebug(), m_part, m_projectFiles, KDevPlugin::project(), KDevProject::projectDirectory(), and filetreeview::FileTreeViewItem::setProjectFile(). Referenced by FileTreeWidget(). |
|
Definition at line 136 of file filetreewidget.cpp. References KURL::fileName(), KFileTreeViewItem::isDir(), filetreeview::FileTreeViewItem::isProjectFile(), m_impl, matchesHidePattern(), and KFileTreeViewItem::url(). |
|
Definition at line 300 of file filetreewidget.cpp. References m_impl. Referenced by filetreeview::FileTreeViewItem::paintCell(). |
|
Definition at line 194 of file filetreewidget.cpp. References KDevPlugin::core(), KDevCore::fillContextMenu(), kdDebug(), m_impl, and m_part. Referenced by FileTreeWidget(). |
|
We must guard against unloading the used VCS plug-in when using it: we fall back to the implementation (a file view without VCS fields, only filenames).
Definition at line 307 of file filetreewidget.cpp. References kdDebug(), m_impl, m_rootBranch, openDirectory(), projectDirectory(), KFileTreeView::removeBranch(), and KListView::removeColumn(). Referenced by FileTreeWidget(). |
|
Definition at line 179 of file filetreewidget.cpp. References KDevPartController::editDocument(), KFileTreeViewItem::isDir(), m_part, KDevPlugin::partController(), and KFileTreeViewItem::url(). Referenced by FileTreeWidget(). |
|
Definition at line 290 of file filetreewidget.cpp. References part(), and KDevPlugin::versionControl(). Referenced by FileTreeWidget(). |
Member Data Documentation
|
Definition at line 86 of file filetreewidget.h. Referenced by applyHidePatterns(), FileTreeWidget(), hidePatterns(), and matchesHidePattern(). |
|
Definition at line 91 of file filetreewidget.h. Referenced by FileTreeWidget(), openDirectory(), shouldBeShown(), showNonProjectFiles(), slotContextMenu(), and slotImplementationInvalidated(). |
|
Definition at line 89 of file filetreewidget.h. Referenced by FileTreeWidget(), openDirectory(), projectDirectory(), removeProjectFiles(), slotContextMenu(), slotItemExecuted(), and ~FileTreeWidget(). |
|
Definition at line 87 of file filetreewidget.h. Referenced by addProjectFiles(), openDirectory(), and removeProjectFiles(). |
|
Definition at line 90 of file filetreewidget.h. Referenced by openDirectory(), and slotImplementationInvalidated(). |
The documentation for this class was generated from the following files:
- parts/fileview/filetreewidget.h
- parts/fileview/filetreewidget.cpp