umbrello
2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
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
UMLStereotypeList * m_stereotypes
Definition: stereotypesmodel.h:44
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:17
Definition: stereotypesmodel.h:24
QString name(bool includeAdornments=false) const
Definition: stereotype.cpp:147
int refCount() const
Definition: stereotype.cpp:139
int rowCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:30
Q_DECLARE_METATYPE(UMLStereotype *)
Sets up stereotype information.
Definition: stereotype.h:40
int m_count
Definition: stereotypesmodel.h:43
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:101
QString a
Definition: petalnode.cpp:18
#define i18n
Definition: main.cpp:39
void emitDataChanged(const QModelIndex &index)
Definition: stereotypesmodel.cpp:112
int columnCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:38
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:90
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:62
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:45
StereotypesModel(UMLStereotypeList *stereotypes)
Definition: stereotypesmodel.cpp:24