OpenMW
Public Member Functions | Private Attributes
CSMWorld::ModifyCommand Class Reference

#include <commands.hpp>

List of all members.

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

Constructor & Destructor Documentation

CSMWorld::ModifyCommand::ModifyCommand ( QAbstractItemModel &  model,
const QModelIndex &  index,
const QVariant &  new_,
QUndoCommand *  parent = 0 
)

Member Function Documentation

void CSMWorld::ModifyCommand::redo ( ) [virtual]
void CSMWorld::ModifyCommand::undo ( ) [virtual]

Member Data Documentation

QModelIndex CSMWorld::ModifyCommand::mIndex [private]
QAbstractItemModel& CSMWorld::ModifyCommand::mModel [private]
QVariant CSMWorld::ModifyCommand::mNew [private]
QVariant CSMWorld::ModifyCommand::mOld [private]

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