GluonPlayer::GamesModel Class Reference

Model which contains a list of the installed games. More...

#include <gamesmodel.h>

List of all members.

Public Types

enum  Column { PathColumn, NameColumn, DescriptionColumn, IdColumn }

Public Member Functions

 GamesModel (QObject *parent=0)
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const

Detailed Description

Model which contains a list of the installed games.

This model can be used to obtain a list of all the installed games Use the different columns of the model to obtain required properties.

Definition at line 37 of file gamesmodel.h.


Member Enumeration Documentation

Enumerator:
PathColumn 
NameColumn 
DescriptionColumn 
IdColumn 

Definition at line 46 of file gamesmodel.h.


Constructor & Destructor Documentation

GamesModel::GamesModel ( QObject parent = 0  ) 

Definition at line 31 of file gamesmodel.cpp.


Member Function Documentation

int GamesModel::columnCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 77 of file gamesmodel.cpp.

QVariant GamesModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 37 of file gamesmodel.cpp.

QVariant GamesModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const [virtual]

Definition at line 89 of file gamesmodel.cpp.

int GamesModel::rowCount ( const QModelIndex &  parent = QModelIndex()  )  const [virtual]

Definition at line 83 of file gamesmodel.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 13:13:44 2010 for Gluon by  doxygen 1.6.3