Gui::DocumentModelIndex Class Reference

Inheritance diagram for Gui::DocumentModelIndex:
Base::BaseClass Gui::ApplicationIndex Gui::DocumentIndex Gui::ViewProviderIndex

List of all members.

Public Member Functions

void appendChild (DocumentModelIndex *child)
DocumentModelIndexchild (int row)
int childCount () const
virtual QVariant data (int role) const
virtual Qt::ItemFlags flags () const
virtual Base::Type getTypeId (void) const
DocumentModelIndexparent () const
void removeChild (int row)
void reset ()
int row () const
virtual bool setData (const QVariant &value, int role)
void setParent (DocumentModelIndex *parent)
virtual ~DocumentModelIndex ()

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

 DocumentModelIndex ()

Protected Attributes

QList< DocumentModelIndex * > childItems
DocumentModelIndexparentItem

Detailed Description

Definition at line 49 of file DocumentModel.cpp.


Constructor & Destructor Documentation

virtual Gui::DocumentModelIndex::~DocumentModelIndex (  )  [inline, virtual]

Definition at line 54 of file DocumentModel.cpp.

References childItems.

Gui::DocumentModelIndex::DocumentModelIndex (  )  [inline, protected]

Definition at line 95 of file DocumentModel.cpp.


Member Function Documentation

void Gui::DocumentModelIndex::appendChild ( DocumentModelIndex child  )  [inline]

Definition at line 63 of file DocumentModel.cpp.

References childItems, and setParent().

DocumentModelIndex* Gui::DocumentModelIndex::child ( int  row  )  [inline]

Definition at line 68 of file DocumentModel.cpp.

References childItems.

Referenced by Gui::ApplicationIndex::findChild().

int Gui::DocumentModelIndex::childCount (  )  const [inline]

Definition at line 77 of file DocumentModel.cpp.

References childItems.

Referenced by Gui::DocumentModel::rowCount().

void * Gui::DocumentModelIndex::create ( void   )  [static]

Reimplemented from Base::BaseClass.

Reimplemented in Gui::ApplicationIndex, Gui::DocumentIndex, and Gui::ViewProviderIndex.

Definition at line 239 of file DocumentModel.cpp.

virtual QVariant Gui::DocumentModelIndex::data ( int  role  )  const [inline, virtual]

Reimplemented in Gui::ApplicationIndex, Gui::DocumentIndex, and Gui::ViewProviderIndex.

Definition at line 79 of file DocumentModel.cpp.

virtual Qt::ItemFlags Gui::DocumentModelIndex::flags (  )  const [inline, virtual]

Reimplemented in Gui::ApplicationIndex.

Definition at line 89 of file DocumentModel.cpp.

Base::Type Gui::DocumentModelIndex::getClassTypeId ( void   )  [static]

Reimplemented from Base::BaseClass.

Reimplemented in Gui::ApplicationIndex, Gui::DocumentIndex, and Gui::ViewProviderIndex.

Definition at line 239 of file DocumentModel.cpp.

Base::Type Gui::DocumentModelIndex::getTypeId ( void   )  const [virtual]

Reimplemented from Base::BaseClass.

Reimplemented in Gui::ApplicationIndex, Gui::DocumentIndex, and Gui::ViewProviderIndex.

Definition at line 239 of file DocumentModel.cpp.

void Gui::DocumentModelIndex::init ( void   )  [static]

Reimplemented from Base::BaseClass.

Reimplemented in Gui::ApplicationIndex, Gui::DocumentIndex, and Gui::ViewProviderIndex.

Definition at line 239 of file DocumentModel.cpp.

Referenced by Gui::DocumentModel::DocumentModel().

DocumentModelIndex* Gui::DocumentModelIndex::parent (  )  const [inline]

Definition at line 61 of file DocumentModel.cpp.

References parentItem.

Referenced by Gui::DocumentModel::parent().

void Gui::DocumentModelIndex::removeChild ( int  row  )  [inline]

Definition at line 65 of file DocumentModel.cpp.

References childItems.

void Gui::DocumentModelIndex::reset (  )  [inline]

Definition at line 57 of file DocumentModel.cpp.

References childItems.

int Gui::DocumentModelIndex::row (  )  const [inline]

Definition at line 70 of file DocumentModel.cpp.

References childItems, and parentItem.

Referenced by Gui::DocumentModel::parent().

virtual bool Gui::DocumentModelIndex::setData ( const QVariant &  value,
int  role 
) [inline, virtual]

Definition at line 81 of file DocumentModel.cpp.

void Gui::DocumentModelIndex::setParent ( DocumentModelIndex parent  )  [inline]

Definition at line 59 of file DocumentModel.cpp.

References parentItem.

Referenced by appendChild().


Member Data Documentation

Definition at line 96 of file DocumentModel.cpp.

Referenced by parent(), row(), and setParent().


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:01:59 2011 for FreeCAD by  doxygen 1.6.1