11 #ifndef STEREOTYPESMODEL_H 12 #define STEREOTYPESMODEL_H 18 #include <QAbstractTableModel> 30 int rowCount(
const QModelIndex &parent)
const;
33 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
34 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
47 #endif // STEREOTYPESMODEL_H void emitDataChanged(const QModelIndex &index)
Definition: stereotypesmodel.cpp:112
Q_DECLARE_METATYPE(UMLStereotype *)
int columnCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:38
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:90
Sets up stereotype information.
Definition: stereotype.h:40
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:62
StereotypesModel(UMLStereotypeList *stereotypes)
Definition: stereotypesmodel.cpp:24
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:45
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:17
Definition: stereotypesmodel.h:24
UMLStereotypeList * m_stereotypes
Definition: stereotypesmodel.h:44
int rowCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:30
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:101
int m_count
Definition: stereotypesmodel.h:43