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