umbrello  2.38.5
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Attributes | List of all members
ObjectsModel Class Reference

#include <objectsmodel.h>

Inheritance diagram for ObjectsModel:
Collaboration diagram for ObjectsModel:

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
 

Constructor & Destructor Documentation

ObjectsModel::ObjectsModel ( )
explicit

Member Function Documentation

bool ObjectsModel::add ( UMLObject o)
int ObjectsModel::columnCount ( const QModelIndex &  parent) const
QVariant ObjectsModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Here is the call graph for this function:

void ObjectsModel::emitDataChanged ( const QModelIndex &  index)
void ObjectsModel::emitDataChanged ( int  index)
void ObjectsModel::emitDataChanged ( UMLObject o)

Here is the call graph for this function:

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

Member Data Documentation

QList<QPointer<UMLObject> > ObjectsModel::m_allObjects
protected

The documentation for this class was generated from the following files: