DocTreeItem Class Reference
#include <doctreeitem.h>
Inheritance diagram for DocTreeItem:


Public Types | |
enum | Type { Folder, Book, Doc } |
Public Member Functions | |
DocTreeItem (KListView *parent, Type type, const QString &text, const QString &context, bool lazy=false) | |
DocTreeItem (DocTreeItem *parent, Type type, const QString &text, const QString &context, bool lazy=false) | |
virtual | ~DocTreeItem () |
void | postInit () |
virtual QString | fileName () |
void | setFileName (const QString &fn) |
const QString & | indexFileName () const |
virtual void | clear () |
virtual QString | context () const |
virtual Type | type () const |
bool | isCurrent () const |
void | setDirty () |
virtual void | setOpen (bool open) |
Protected Member Functions | |
void | setIndexFileName (const QString &fileName) |
virtual void | refresh () |
Private Member Functions | |
void | init () |
Private Attributes | |
Type | m_typ |
QString | m_fileName |
QString | m_indexFileName |
QString | m_context |
bool | m_current: 1 |
bool | m_lazy: 1 |
Member Enumeration Documentation
|
Definition at line 26 of file doctreeitem.h. Referenced by type(). |
Constructor & Destructor Documentation
|
Definition at line 36 of file doctreeitem.cpp. References init(), and text(). Referenced by DocTreeDevHelpFolder::addTocSect(), DocTreeTocFolder::addTocSect(), DocTreeKDELibsBook::readKdoc2Index(), DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), and DocTreeDoxygenBook::refresh(). |
|
Definition at line 46 of file doctreeitem.cpp. |
|
Definition at line 56 of file doctreeitem.cpp. References m_indexFileName, DocIndexWatcher::removeItem(), and watcher(). |
Member Function Documentation
|
Definition at line 127 of file doctreeitem.cpp. Referenced by refresh(). |
|
Definition at line 90 of file doctreeitem.cpp. Referenced by DocTreeKDELibsBook::readKdoc2Index(), DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), DocTreeDoxygenFolder::refresh(), DocTreeDoxygenBook::refresh(), and DocTreeKDELibsFolder::refresh(). |
|
Reimplemented in DocTreeKDELibsBook. Definition at line 85 of file doctreeitem.cpp. Referenced by DocTreeViewWidget::DocTreeViewWidget(), DocTreeKDELibsBook::fileName(), DocTreeKDELibsBook::refresh(), DocTreeViewWidget::slotAddBookmark(), DocTreeViewWidget::slotContextMenu(), DocTreeViewWidget::slotCurrentTabChanged(), and DocTreeViewWidget::slotItemExecuted(). |
|
|
Definition at line 62 of file doctreeitem.cpp. References m_typ. Referenced by DocTreeItem(). |
|
Definition at line 100 of file doctreeitem.cpp. Referenced by setOpen(). |
|
Definition at line 31 of file doctreeitem.h. References refresh(). Referenced by DocTreeDevHelpFolder::addTocSect(), DocTreeTocFolder::addTocSect(), DocTreeViewWidget::DocTreeViewWidget(), DocTreeKDELibsBook::readKdoc2Index(), DocTreeViewWidget::refresh(), DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), and DocTreeDoxygenBook::refresh(). |
|
Reimplemented in DocTreeKDELibsBook, DocTreeKDELibsFolder, DocTreeDoxygenBook, DocTreeDoxygenFolder, DocTreeTocFolder, DocTreeDevHelpFolder, DocTreeBookmarksFolder, DocTreeProjectFolder, and DocTreeQtFolder. Definition at line 121 of file doctreeitem.cpp. References clear(), and m_current. Referenced by postInit(), DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), DocTreeDevHelpFolder::refresh(), DocTreeTocFolder::refresh(), DocTreeDoxygenFolder::refresh(), DocTreeDoxygenBook::refresh(), DocTreeKDELibsFolder::refresh(), DocTreeKDELibsBook::refresh(), and setOpen(). |
|
Definition at line 105 of file doctreeitem.cpp. References m_current. |
|
|
Definition at line 143 of file doctreeitem.cpp. References DocIndexWatcher::addItem(), m_indexFileName, DocIndexWatcher::removeItem(), and watcher(). Referenced by DocTreeDevHelpFolder::DocTreeDevHelpFolder(), DocTreeDoxygenBook::DocTreeDoxygenBook(), DocTreeKDELibsBook::DocTreeKDELibsBook(), DocTreeQtFolder::DocTreeQtFolder(), and DocTreeTocFolder::DocTreeTocFolder(). |
|
Definition at line 110 of file doctreeitem.cpp. References isCurrent(), m_lazy, and refresh(). |
|
Definition at line 95 of file doctreeitem.cpp. References Type. |
Member Data Documentation
|
Definition at line 55 of file doctreeitem.h. |
|
Definition at line 56 of file doctreeitem.h. Referenced by refresh(), and setDirty(). |
|
Definition at line 55 of file doctreeitem.h. Referenced by setFileName(). |
|
Definition at line 55 of file doctreeitem.h. Referenced by setIndexFileName(), and ~DocTreeItem(). |
|
Definition at line 56 of file doctreeitem.h. Referenced by setOpen(). |
|
Definition at line 54 of file doctreeitem.h. Referenced by init(). |
The documentation for this class was generated from the following files:
- parts/doctreeview/doctreeitem.h
- parts/doctreeview/doctreeitem.cpp