OpenMW
|
#include <commands.hpp>
Public Member Functions | |
ModifyCommand (QAbstractItemModel &model, const QModelIndex &index, const QVariant &new_, QUndoCommand *parent=0) | |
virtual void | redo () |
virtual void | undo () |
Private Attributes | |
QAbstractItemModel & | mModel |
QModelIndex | mIndex |
QVariant | mNew |
QVariant | mOld |
CSMWorld::ModifyCommand::ModifyCommand | ( | QAbstractItemModel & | model, |
const QModelIndex & | index, | ||
const QVariant & | new_, | ||
QUndoCommand * | parent = 0 |
||
) |
void CSMWorld::ModifyCommand::redo | ( | ) | [virtual] |
void CSMWorld::ModifyCommand::undo | ( | ) | [virtual] |
QModelIndex CSMWorld::ModifyCommand::mIndex [private] |
QAbstractItemModel& CSMWorld::ModifyCommand::mModel [private] |
QVariant CSMWorld::ModifyCommand::mNew [private] |
QVariant CSMWorld::ModifyCommand::mOld [private] |