#include <commands.hpp>
CSMWorld::CreateCommand::CreateCommand |
( |
IdTable & |
model, |
|
|
const std::string & |
id, |
|
|
QUndoCommand * |
parent = 0 |
|
) |
| |
void CSMWorld::CreateCommand::addNestedValue |
( |
int |
parentColumn, |
|
|
int |
nestedColumn, |
|
|
const QVariant & |
value |
|
) |
| |
void CSMWorld::CreateCommand::addValue |
( |
int |
column, |
|
|
const QVariant & |
value |
|
) |
| |
void CSMWorld::CreateCommand::applyModifications |
( |
| ) |
|
|
protected |
Apply modifications set via addValue.
void CSMWorld::CreateCommand::redo |
( |
| ) |
|
|
virtual |
void CSMWorld::CreateCommand::undo |
( |
| ) |
|
|
virtual |
std::string CSMWorld::CreateCommand::mId |
|
protected |
IdTable& CSMWorld::CreateCommand::mModel |
|
protected |
std::map<int, std::pair<int, QVariant> > CSMWorld::CreateCommand::mNestedValues |
|
private |
Parameter order: a parent column, a nested column, a data. A nested row has index of 0.
std::map<int, QVariant> CSMWorld::CreateCommand::mValues |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/opencs/model/world/commands.hpp
- /home/travis/build/OpenMW/openmw/apps/opencs/model/world/commands.cpp