mkRPG
Public Member Functions
ReceiverListModel Class Reference

The CellTypeListModel class presents the action's receivers as a Qt Model-View framework's list model. More...

#include <itemmodels.h>

Public Member Functions

 ReceiverListModel (QObject *parent=nullptr)
void setAction (Action *action)
int rowCount (const QModelIndex &parent) const Q_DECL_OVERRIDE
QVariant data (const QModelIndex &index, int role) const Q_DECL_OVERRIDE
Qt::ItemFlags flags (const QModelIndex &index) const Q_DECL_OVERRIDE
bool removeRows (int row, int count, const QModelIndex &parent) Q_DECL_OVERRIDE
void addReceiver (GameObject *rcv, const QString &order)
QPair< GameObject *, QString > receiver (int row)

Detailed Description

The CellTypeListModel class presents the action's receivers 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