umbrello 2.39.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <stereotypesmodel.h>
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 |
UMLStereotypeList & | m_stereotypes |
|
explicit |
bool StereotypesModel::addStereotype | ( | UMLStereotype * | stereotype | ) |
int StereotypesModel::columnCount | ( | const QModelIndex & | parent | ) | const |
QVariant StereotypesModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole ) const |
void StereotypesModel::emitDataChanged | ( | const QModelIndex & | index | ) |
QVariant StereotypesModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole ) const |
bool StereotypesModel::removeStereotype | ( | UMLStereotype * | stereotype | ) |
int StereotypesModel::rowCount | ( | const QModelIndex & | parent | ) | const |
|
protected |
|
protected |