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
DiagramsModel Class Reference

#include <diagramsmodel.h>

Inheritance diagram for DiagramsModel:
Collaboration diagram for DiagramsModel:

Public Member Functions

 DiagramsModel ()
 
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
 
bool addDiagram (UMLView *view)
 
bool removeDiagram (UMLView *view)
 
bool removeAllDiagrams ()
 
void emitDataChanged (const QModelIndex &index)
 
void emitDataChanged (int index)
 
void emitDataChanged (UMLView *view)
 

Protected Attributes

int m_count
 
UMLViewList m_views
 

Constructor & Destructor Documentation

DiagramsModel::DiagramsModel ( )
explicit

Member Function Documentation

bool DiagramsModel::addDiagram ( UMLView view)
int DiagramsModel::columnCount ( const QModelIndex &  parent) const
QVariant DiagramsModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Here is the call graph for this function:

void DiagramsModel::emitDataChanged ( const QModelIndex &  index)
void DiagramsModel::emitDataChanged ( int  index)
void DiagramsModel::emitDataChanged ( UMLView view)

Here is the call graph for this function:

QVariant DiagramsModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
bool DiagramsModel::removeAllDiagrams ( )
bool DiagramsModel::removeDiagram ( UMLView view)
int DiagramsModel::rowCount ( const QModelIndex &  parent) const

Member Data Documentation

int DiagramsModel::m_count
protected
UMLViewList DiagramsModel::m_views
protected

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