OpenMW
|
#include <commands.hpp>
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 | |
IdTable & | mModel |
std::string | mId |
UniversalId::Type | mType |
std::map< int, QVariant > | mValues |
CSMWorld::CreateCommand::CreateCommand | ( | IdTable & | model, |
const std::string & | id, | ||
QUndoCommand * | parent = 0 |
||
) |
void CSMWorld::CreateCommand::addValue | ( | int | column, |
const QVariant & | value | ||
) |
void CSMWorld::CreateCommand::redo | ( | ) | [virtual] |
void CSMWorld::CreateCommand::setType | ( | UniversalId::Type | type | ) |
void CSMWorld::CreateCommand::undo | ( | ) | [virtual] |
std::string CSMWorld::CreateCommand::mId [private] |
IdTable& CSMWorld::CreateCommand::mModel [private] |
std::map<int, QVariant> CSMWorld::CreateCommand::mValues [private] |