mkRPG
Public Member Functions
ActionsListModel Class Reference

The CellTypeListModel class presents the "actions" Action as a Qt Model-View framework's list model. More...

#include <itemmodels.h>

Public Member Functions

 ActionsListModel (QObject *parent=nullptr)
 ActionsListModel (Game *g, QObject *parent=nullptr)
void setGame (Game *g)
int rowCount (const QModelIndex &parent) const Q_DECL_OVERRIDE
Qt::ItemFlags flags (const QModelIndex &index) const Q_DECL_OVERRIDE
QVariant data (const QModelIndex &index, int role) const Q_DECL_OVERRIDE
bool setData (const QModelIndex &index, const QVariant &value, int role) Q_DECL_OVERRIDE
void addAction (const QString &action)

Detailed Description

The CellTypeListModel class presents the "actions" Action as a Qt Model-View framework's list model.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines