LibEngsas
Public Member Functions | Private Attributes | List of all members
EAboutModel Class Reference

Used by the EAboutDialog to display all related persons. More...

#include <eaboutmodel.h>

+ Inheritance diagram for EAboutModel:
+ Collaboration diagram for EAboutModel:

Public Member Functions

 EAboutModel (QObject *parent=0)
 ~EAboutModel ()
QString toHtml () const
void addPerson (EAboutPerson *person)
void addPerson (QString name, QString givenName, EAboutPerson::Categories categories)
void addPerson (QString name, QString givenName, QString email, EAboutPerson::Categories categories)
EAboutPersonitemFromIndex (QModelIndex index) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
int columnCount (const QModelIndex &parent=QModelIndex()) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &child) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
- Public Member Functions inherited from EAbstractItemModel
 EAbstractItemModel (QObject *parent=0)
virtual ~EAbstractItemModel ()

Private Attributes

EngSaS::AboutPersons items

Additional Inherited Members

- Signals inherited from EAbstractItemModel
void error (QString msg)
void warning (QString msg)
void information (QString msg)
void eRowsInserted (const QModelIndex &parent, int start, int end)
 Replacement of private signal rowsInserted().
void eRowsRemoved (const QModelIndex &parent, int start, int end)
 Replacement of private signal rowsRemoved().
- Static Public Member Functions inherited from EAbstractItemModel
static void connectByPass (QObject *parent, EAbstractItemModel *child)
static void connectByPass (EAbstractItemModel *parent, QObject *child)
- Protected Slots inherited from EAbstractItemModel
virtual void errorByPass (const QString &message)
virtual void warningByPass (const QString &message)
virtual void informationByPass (const QString &message)

Detailed Description

Used by the EAboutDialog to display all related persons.

Normally the only thing you have to do, is to add EAboutPerson's via addPerson().

Constructor & Destructor Documentation

EAboutModel::EAboutModel ( QObject *  parent = 0)
EAboutModel::~EAboutModel ( )

Member Function Documentation

void EAboutModel::addPerson ( EAboutPerson person)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EAboutModel::addPerson ( QString  name,
QString  givenName,
EAboutPerson::Categories  categories 
)

+ Here is the call graph for this function:

void EAboutModel::addPerson ( QString  name,
QString  givenName,
QString  email,
EAboutPerson::Categories  categories 
)

+ Here is the call graph for this function:

int EAboutModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

+ Here is the caller graph for this function:

QVariant EAboutModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

+ Here is the call graph for this function:

QVariant EAboutModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
QModelIndex EAboutModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

EAboutPerson * EAboutModel::itemFromIndex ( QModelIndex  index) const

+ Here is the caller graph for this function:

QModelIndex EAboutModel::parent ( const QModelIndex &  child) const
int EAboutModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

+ Here is the caller graph for this function:

QString EAboutModel::toHtml ( ) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

EngSaS::AboutPersons EAboutModel::items
private

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