umbrello  2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Attributes | List of all members
StereotypesModel Class Reference

#include <stereotypesmodel.h>

Inheritance diagram for StereotypesModel:
Collaboration diagram for StereotypesModel:

Public Member Functions

 StereotypesModel (UMLStereotypeList &stereotypes)
 
int rowCount (const QModelIndex &parent) const
 
int columnCount (const QModelIndex &parent) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
bool addStereotype (UMLStereotype *stereotype)
 
bool removeStereotype (UMLStereotype *stereotype)
 
void emitDataChanged (const QModelIndex &index)
 
void emitDataChanged (int index)
 

Protected Attributes

int m_count
 
UMLStereotypeListm_stereotypes
 

Constructor & Destructor Documentation

StereotypesModel::StereotypesModel ( UMLStereotypeList stereotypes)
explicit

Member Function Documentation

bool StereotypesModel::addStereotype ( UMLStereotype stereotype)

Here is the call graph for this function:

int StereotypesModel::columnCount ( const QModelIndex &  parent) const
QVariant StereotypesModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Here is the call graph for this function:

void StereotypesModel::emitDataChanged ( const QModelIndex &  index)
void StereotypesModel::emitDataChanged ( int  index)
QVariant StereotypesModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
bool StereotypesModel::removeStereotype ( UMLStereotype stereotype)

Here is the call graph for this function:

int StereotypesModel::rowCount ( const QModelIndex &  parent) const

Member Data Documentation

int StereotypesModel::m_count
protected
UMLStereotypeList& StereotypesModel::m_stereotypes
protected

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