![]() |
|
|
#include <classtreemodel.h>
Collaboration diagram for inspectorj::model::ClassTreeModel:
Definition at line 46 of file classtreemodel.h.
Public Slots | |
void | initModel () |
Initialize this model with a java class. | |
Public Member Functions | |
ClassTreeModel (QObject *parent=0) | |
~ClassTreeModel () | |
QVariant | data (const QModelIndex &index, int role) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
QModelIndex | parent (const QModelIndex &index) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
void | setJavaClass (JavaClass *) |
Set the JavaClass that this model will represent. | |
Private Member Functions | |
void | setupModelData (TreeItem *parent) |
Private Attributes | |
JavaClass * | javaClass |
TreeItem * | rootItem |
void inspectorj::model::ClassTreeModel::setJavaClass | ( | JavaClass * | ) |
Set the JavaClass that this model will represent.
Definition at line 187 of file classtreemodel.cpp.
References javaClass.
Referenced by inspectorj::toolset::ClassToolSet::getClassDetails().
void inspectorj::model::ClassTreeModel::initModel | ( | ) | [slot] |
Initialize this model with a java class.
Definition at line 195 of file classtreemodel.cpp.
References inspectorj::model::JavaClass::getJNIClassSignature(), javaClass, rootItem, and setupModelData().
Referenced by inspectorj::client::InspectorJ::updateClassTree().