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 32 of file filetreeviewwidgetimpl.cpp. References kdDebug(), m_actionToggleShowNonProjectFiles, m_part, KDevPlugin::projectDom(), KToggleAction::setChecked(), KToggleAction::setCheckedState(), KAction::setWhatsThis(), and slotToggleShowNonProjectFiles(). |
|
Definition at line 53 of file filetreeviewwidgetimpl.cpp. References kdDebug(), m_part, KDevPlugin::projectDom(), showNonProjectFiles(), and DomUtil::writeBoolEntry(). |
Member Function Documentation
|
Definition at line 130 of file filetreeviewwidgetimpl.cpp. Referenced by selectedPathUrls(). |
|
Definition at line 61 of file filetreeviewwidgetimpl.h. |
|
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 65 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 93 of file filetreeviewwidgetimpl.cpp. References canReloadTree(), fileTree(), m_actionToggleShowNonProjectFiles, KToggleAction::plug(), and slotReloadTree(). Referenced by VCSFileTreeWidgetImpl::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. Referenced by projectDirectory(), and projectDom(). |
|
Definition at line 79 of file filetreeviewwidgetimpl.cpp. References part(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by slotReloadTree(), and VCSFileTreeWidgetImpl::slotSyncWithRepository(). |
|
Definition at line 72 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 109 of file filetreeviewwidgetimpl.cpp. References allSelectedItems(), fileTree(), kdDebug(), and KURL::setPath(). |
|
Definition at line 91 of file filetreeviewwidgetimpl.h. References m_branchItemFactory. Referenced by StdFileTreeWidgetImpl::StdFileTreeWidgetImpl(), and VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl(). |
|
Definition at line 52 of file filetreeviewwidgetimpl.h. References fileTree(). Referenced by VCSFileTreeWidgetImpl::slotToggleShowVCSFields(). |
|
Definition at line 86 of file filetreeviewwidgetimpl.cpp. References KToggleAction::isChecked(), and m_actionToggleShowNonProjectFiles. Referenced by ~FileTreeViewWidgetImpl(). |
|
Definition at line 154 of file filetreeviewwidgetimpl.cpp. References fileTree(), FileTreeWidget::openDirectory(), and projectDirectory(). Referenced by fillPopupMenu(). |
|
Definition at line 161 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 setBranchItemFactory(). |
|
Definition at line 100 of file filetreeviewwidgetimpl.h. |
|
Definition at line 98 of file filetreeviewwidgetimpl.h. Referenced by FileTreeViewWidgetImpl(), and ~FileTreeViewWidgetImpl(). |
The documentation for this class was generated from the following files:
- parts/fileview/filetreeviewwidgetimpl.h
- parts/fileview/filetreeviewwidgetimpl.cpp