umbrello
2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <objectsmodel.h>
Public Member Functions | |
ObjectsModel () | |
bool | add (UMLObject *o) |
bool | remove (UMLObject *o) |
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 |
void | emitDataChanged (const QModelIndex &index) |
void | emitDataChanged (int index) |
void | emitDataChanged (UMLObject *o) |
Protected Attributes | |
QList< QPointer< UMLObject > > | m_allObjects |
|
explicit |
bool ObjectsModel::add | ( | UMLObject * | o | ) |
int ObjectsModel::columnCount | ( | const QModelIndex & | parent | ) | const |
QVariant ObjectsModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
void ObjectsModel::emitDataChanged | ( | const QModelIndex & | index | ) |
void ObjectsModel::emitDataChanged | ( | int | index | ) |
void ObjectsModel::emitDataChanged | ( | UMLObject * | o | ) |
QVariant ObjectsModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const |
bool ObjectsModel::remove | ( | UMLObject * | o | ) |
int ObjectsModel::rowCount | ( | const QModelIndex & | parent | ) | const |
|
protected |