KDevelop API Documentation

DocTreeItem Class Reference

Inheritance diagram for DocTreeItem:

QListViewItem DocTreeBookmarksFolder DocTreeDevHelpFolder DocTreeDoxygenBook DocTreeDoxygenFolder DocTreeKDELibsBook DocTreeKDELibsFolder DocTreeProjectFolder DocTreeQtFolder DocTreeTocFolder List of all members.

Public Types

enum  Type { Folder, Book, Doc }

Public Member Functions

 DocTreeItem (KListView *parent, Type type, const QString &text, const QString &context)
 DocTreeItem (DocTreeItem *parent, Type type, const QString &text, const QString &context)
void setFileName (const QString &fn)
virtual QString fileName ()
virtual void clear ()
virtual QString context () const
virtual Type getType () const

Private Member Functions

void init ()

Private Attributes

Type typ
QString filename
QString m_context

Member Enumeration Documentation

enum DocTreeItem::Type
 

Enumeration values:
Folder 
Book 
Doc 

Definition at line 72 of file doctreeviewwidget.cpp.

Referenced by getType().


Constructor & Destructor Documentation

DocTreeItem::DocTreeItem KListView parent,
Type  type,
const QString text,
const QString context
 

Definition at line 91 of file doctreeviewwidget.cpp.

References DocTreeItem(), init(), and text().

Referenced by DocTreeItem().

DocTreeItem::DocTreeItem DocTreeItem parent,
Type  type,
const QString text,
const QString context
 

Definition at line 98 of file doctreeviewwidget.cpp.

References DocTreeItem(), init(), and text().


Member Function Documentation

void DocTreeItem::clear  )  [virtual]
 

Definition at line 118 of file doctreeviewwidget.cpp.

Referenced by DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), DocTreeDoxygenFolder::refresh(), and DocTreeKDELibsFolder::refresh().

virtual QString DocTreeItem::context  )  const [inline, virtual]
 

Definition at line 81 of file doctreeviewwidget.cpp.

References m_context.

Referenced by DocTreeKDELibsBook::readKdoc2Index(), DocTreeDoxygenBook::readTagFile(), DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), DocTreeDoxygenFolder::refresh(), DocTreeKDELibsFolder::refresh(), and DocTreeViewWidget::slotItemExecuted().

virtual QString DocTreeItem::fileName  )  [inline, virtual]
 

Reimplemented in DocTreeKDELibsBook.

Definition at line 78 of file doctreeviewwidget.cpp.

References filename.

Referenced by DocTreeKDELibsBook::fileName(), DocTreeKDELibsBook::setOpen(), DocTreeViewWidget::slotAddBookmark(), DocTreeViewWidget::slotContextMenu(), DocTreeViewWidget::slotCurrentTabChanged(), and DocTreeViewWidget::slotItemExecuted().

virtual Type DocTreeItem::getType  )  const [inline, virtual]
 

Definition at line 82 of file doctreeviewwidget.cpp.

References typ, and Type.

void DocTreeItem::init  )  [private]
 

Definition at line 105 of file doctreeviewwidget.cpp.

References Book, Folder, and typ.

Referenced by DocTreeItem().

void DocTreeItem::setFileName const QString fn  )  [inline]
 

Definition at line 76 of file doctreeviewwidget.cpp.

References filename, and setFileName().

Referenced by DocTreeDevHelpFolder::addTocSect(), DocTreeTocFolder::addTocSect(), DocTreeKDELibsBook::readKdoc2Index(), DocTreeDoxygenBook::readTagFile(), DocTreeQtFolder::refresh(), DocTreeProjectFolder::refresh(), DocTreeBookmarksFolder::refresh(), and setFileName().


Member Data Documentation

QString DocTreeItem::filename [private]
 

Reimplemented in DocTreeQtFolder.

Definition at line 87 of file doctreeviewwidget.cpp.

Referenced by fileName(), and setFileName().

QString DocTreeItem::m_context [private]
 

Definition at line 87 of file doctreeviewwidget.cpp.

Referenced by context().

Type DocTreeItem::typ [private]
 

Definition at line 86 of file doctreeviewwidget.cpp.

Referenced by getType(), and init().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:02 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003