FileTreeViewWidgetImpl Class Reference
#include <filetreeviewwidgetimpl.h>
Inheritance diagram for FileTreeViewWidgetImpl:

Signals | |
void | implementationInvalidated () |
Emitted when the current implementation "recognizes" it cannot work anymore: for example the VCS impl. | |
Public Member Functions | |
FileTreeViewWidgetImpl (FileTreeWidget *parent, const char *name) | |
virtual | ~FileTreeViewWidgetImpl () |
KURL::List | selectedPathUrls () |
return a list containing the filenames of the currently selected items. | |
FileTreeWidget * | fileTree () const |
QDomDocument & | projectDom () const |
QHeader * | header () const |
void | setColumnWidth (int column, int w) |
int | contentsWidth () const |
void | triggerUpdate () |
FileViewPart * | part () const |
filetreeview::FileTreeViewItem * | currentItem () const |
filetreeview::BranchItemFactory * | branchItemFactory () const |
virtual bool | canReloadTree () const =0 |
Costraints that must be satisfied to start a reload of the the tree. | |
virtual void | fillPopupMenu (QPopupMenu *popupMenu, QListViewItem *item) const |
Here the popup menu is filled: by standard only the "reload tree" (only if the above function returns true) and "show project files" options are added. | |
bool | showNonProjectFiles () const |
Protected Member Functions | |
void | setBranchItemFactory (filetreeview::BranchItemFactory *aFactory) |
QString | projectDirectory () const |
Private Slots | |
void | slotReloadTree () |
void | slotToggleShowNonProjectFiles () |
Private Member Functions | |
QValueList< QListViewItem * > | allSelectedItems (QListViewItem *item) const |
Private Attributes | |
filetreeview::BranchItemFactory * | m_branchItemFactory |
FileViewPart * | m_part |
bool | m_isReloadingTree |
KToggleAction * | m_actionToggleShowNonProjectFiles |
Detailed Description
- Author:
- Mario Scalas A base class for providing additional features to the standard KFileTreeViewItem-based widget we use for listing files in project directory.
Definition at line 39 of file filetreeviewwidgetimpl.h.
Constructor & Destructor Documentation
|
Definition at line 31 of file filetreeviewwidgetimpl.cpp. References endl(), FileTreeViewWidgetImpl(), kdDebug(), m_actionToggleShowNonProjectFiles, m_part, KDevPlugin::projectDom(), KToggleAction::setChecked(), KAction::setWhatsThis(), and slotToggleShowNonProjectFiles(). Referenced by FileTreeViewWidgetImpl(). |
|
Definition at line 49 of file filetreeviewwidgetimpl.cpp. References endl(), kdDebug(), m_branchItemFactory, m_part, KDevPlugin::projectDom(), and showNonProjectFiles(). |
Member Function Documentation
|
Definition at line 126 of file filetreeviewwidgetimpl.cpp. References allSelectedItems(). Referenced by allSelectedItems(), and selectedPathUrls(). |
|
Definition at line 61 of file filetreeviewwidgetimpl.h. References m_branchItemFactory. |
|
Costraints that must be satisfied to start a reload of the the tree.
Implemented in StdFileTreeWidgetImpl, and VCSFileTreeWidgetImpl. Referenced by fillPopupMenu(). |
|
Definition at line 53 of file filetreeviewwidgetimpl.h. References fileTree(). Referenced by VCSFileTreeWidgetImpl::slotToggleShowVCSFields(). |
|
Definition at line 56 of file filetreeviewwidgetimpl.h. References fileTree(). |
|
Definition at line 61 of file filetreeviewwidgetimpl.cpp. Referenced by contentsWidth(), currentItem(), fillPopupMenu(), header(), selectedPathUrls(), setColumnWidth(), slotReloadTree(), slotToggleShowNonProjectFiles(), and triggerUpdate(). |
|
Here the popup menu is filled: by standard only the "reload tree" (only if the above function returns true) and "show project files" options are added.
Reimplemented in VCSFileTreeWidgetImpl. Definition at line 89 of file filetreeviewwidgetimpl.cpp. References canReloadTree(), fileTree(), fillPopupMenu(), m_actionToggleShowNonProjectFiles, KToggleAction::plug(), and slotReloadTree(). Referenced by fillPopupMenu(). |
|
Definition at line 51 of file filetreeviewwidgetimpl.h. References fileTree(). Referenced by VCSFileTreeWidgetImpl::slotToggleShowVCSFields(), and StdFileTreeWidgetImpl::StdFileTreeWidgetImpl(). |
|
Emitted when the current implementation "recognizes" it cannot work anymore: for example the VCS impl. can ask to be relieved from work when the VCS plug-in it uses has been unloaded! Referenced by VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl(). |
|
Definition at line 55 of file filetreeviewwidgetimpl.h. References m_part. Referenced by projectDirectory(), and projectDom(). |
|
Definition at line 75 of file filetreeviewwidgetimpl.cpp. References part(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by slotReloadTree(), and VCSFileTreeWidgetImpl::slotSyncWithRepository(). |
|
Definition at line 68 of file filetreeviewwidgetimpl.cpp. References part(), and KDevPlugin::projectDom(). Referenced by VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl(), and VCSFileTreeWidgetImpl::~VCSFileTreeWidgetImpl(). |
|
return a list containing the filenames of the currently selected items.
Definition at line 105 of file filetreeviewwidgetimpl.cpp. References allSelectedItems(), endl(), fileTree(), kdDebug(), and KURL::setPath(). |
|
Definition at line 91 of file filetreeviewwidgetimpl.h. References m_branchItemFactory. |
|
Definition at line 52 of file filetreeviewwidgetimpl.h. References fileTree(), and setColumnWidth(). Referenced by setColumnWidth(). |
|
Definition at line 82 of file filetreeviewwidgetimpl.cpp. References KToggleAction::isChecked(), and m_actionToggleShowNonProjectFiles. Referenced by ~FileTreeViewWidgetImpl(). |
|
Definition at line 150 of file filetreeviewwidgetimpl.cpp. References fileTree(), FileTreeWidget::openDirectory(), and projectDirectory(). Referenced by fillPopupMenu(). |
|
Definition at line 157 of file filetreeviewwidgetimpl.cpp. References fileTree(), and FileTreeWidget::hideOrShow(). Referenced by FileTreeViewWidgetImpl(). |
|
Definition at line 54 of file filetreeviewwidgetimpl.h. References fileTree(). Referenced by VCSFileTreeWidgetImpl::slotToggleShowVCSFields(), and VCSFileTreeWidgetImpl::vcsDirStatusReady(). |
Member Data Documentation
|
Definition at line 102 of file filetreeviewwidgetimpl.h. Referenced by FileTreeViewWidgetImpl(), fillPopupMenu(), and showNonProjectFiles(). |
|
Definition at line 96 of file filetreeviewwidgetimpl.h. Referenced by branchItemFactory(), setBranchItemFactory(), and ~FileTreeViewWidgetImpl(). |
|
Definition at line 100 of file filetreeviewwidgetimpl.h. |
|
Definition at line 98 of file filetreeviewwidgetimpl.h. Referenced by FileTreeViewWidgetImpl(), part(), and ~FileTreeViewWidgetImpl(). |
The documentation for this class was generated from the following files:
- parts/fileview/filetreeviewwidgetimpl.h
- parts/fileview/filetreeviewwidgetimpl.cpp