OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
CSMWorld::CloneCommand Class Reference

#include <commands.hpp>

Inheritance diagram for CSMWorld::CloneCommand:
Collaboration diagram for CSMWorld::CloneCommand:

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
IdTablemModel
 
std::string mId
 
UniversalId::Type mType
 

Constructor & Destructor Documentation

CSMWorld::CloneCommand::CloneCommand ( CSMWorld::IdTable model,
const std::string &  idOrigin,
const std::string &  IdDestination,
const UniversalId::Type  type,
QUndoCommand parent = 0 
)

Here is the call graph for this function:

Member Function Documentation

void CSMWorld::CloneCommand::redo ( )
virtual

Reimplemented from CSMWorld::CreateCommand.

void CSMWorld::CloneCommand::undo ( )
virtual

Reimplemented from CSMWorld::CreateCommand.

Member Data Documentation

std::string CSMWorld::CloneCommand::mIdOrigin
private

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