Public Member Functions | |
void | appendChild (DocumentModelIndex *child) |
DocumentModelIndex * | child (int row) |
int | childCount () const |
virtual QVariant | data (int role) const |
virtual Qt::ItemFlags | flags () const |
virtual Base::Type | getTypeId (void) const |
DocumentModelIndex * | parent () 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 |
DocumentModelIndex * | parentItem |
Definition at line 49 of file DocumentModel.cpp.
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.
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().
QList<DocumentModelIndex*> Gui::DocumentModelIndex::childItems [protected] |
Definition at line 97 of file DocumentModel.cpp.
Referenced by appendChild(), child(), childCount(), Gui::ApplicationIndex::findChild(), Gui::DocumentIndex::findViewProvider(), Gui::ViewProviderIndex::findViewProviders(), Gui::DocumentIndex::findViewProviders(), removeChild(), reset(), row(), and ~DocumentModelIndex().
DocumentModelIndex* Gui::DocumentModelIndex::parentItem [protected] |
Definition at line 96 of file DocumentModel.cpp.
Referenced by parent(), row(), and setParent().