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

#include <commands.hpp>

List of all members.

Public Member Functions

 CreateCommand (IdTable &model, const std::string &id, QUndoCommand *parent=0)
void setType (UniversalId::Type type)
void addValue (int column, const QVariant &value)
virtual void redo ()
virtual void undo ()

Private Attributes

IdTablemModel
std::string mId
UniversalId::Type mType
std::map< int, QVariant > mValues

Constructor & Destructor Documentation

CSMWorld::CreateCommand::CreateCommand ( IdTable model,
const std::string &  id,
QUndoCommand *  parent = 0 
)

Member Function Documentation

void CSMWorld::CreateCommand::addValue ( int  column,
const QVariant &  value 
)
void CSMWorld::CreateCommand::redo ( ) [virtual]
void CSMWorld::CreateCommand::undo ( ) [virtual]

Member Data Documentation

std::string CSMWorld::CreateCommand::mId [private]
std::map<int, QVariant> CSMWorld::CreateCommand::mValues [private]

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