OpenMW
|
#include <commands.hpp>
Public Member Functions | |
CloneCommand (IdTable &model, const std::string &idOrigin, const std::string &IdDestination, const UniversalId::Type type, QUndoCommand *parent=0) | |
virtual void | redo () |
virtual void | undo () |
Public Member Functions inherited from CSMWorld::CreateCommand | |
CreateCommand (IdTable &model, const std::string &id, QUndoCommand *parent=0) | |
void | setType (UniversalId::Type type) |
void | addValue (int column, const QVariant &value) |
void | addNestedValue (int parentColumn, int nestedColumn, const QVariant &value) |
Private Attributes | |
std::string | mIdOrigin |
Additional Inherited Members | |
Protected Member Functions inherited from CSMWorld::CreateCommand | |
void | applyModifications () |
Apply modifications set via addValue. More... | |
Protected Attributes inherited from CSMWorld::CreateCommand | |
IdTable & | mModel |
std::string | mId |
UniversalId::Type | mType |
CSMWorld::CloneCommand::CloneCommand | ( | CSMWorld::IdTable & | model, |
const std::string & | idOrigin, | ||
const std::string & | IdDestination, | ||
const UniversalId::Type | type, | ||
QUndoCommand * | parent = 0 |
||
) |
|
virtual |
Reimplemented from CSMWorld::CreateCommand.
|
virtual |
Reimplemented from CSMWorld::CreateCommand.
|
private |