6 #ifndef STEREOTYPESMODEL_H 7 #define STEREOTYPESMODEL_H 13 #include <QAbstractTableModel> 22 int rowCount(
const QModelIndex &parent)
const;
25 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
26 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
39 #endif // STEREOTYPESMODEL_H void emitDataChanged(const QModelIndex &index)
Definition: stereotypesmodel.cpp:122
int columnCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:33
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:85
Sets up stereotype information.
Definition: umlstereotype.h:35
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:57
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:40
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:12
Definition: stereotypesmodel.h:16
StereotypesModel(UMLStereotypeList &stereotypes)
Definition: stereotypesmodel.cpp:19
UMLStereotypeList & m_stereotypes
Definition: stereotypesmodel.h:36
int rowCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:25
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:101
int m_count
Definition: stereotypesmodel.h:35