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::TouchCommand Class Reference

#include <commands.hpp>

Inheritance diagram for CSMWorld::TouchCommand:
Collaboration diagram for CSMWorld::TouchCommand:

Public Member Functions

 TouchCommand (IdTable &model, const std::string &id, QUndoCommand *parent=nullptr)
 
void redo () override
 
void undo () override
 

Private Attributes

IdTablemTable
 
std::string mId
 
std::unique_ptr< RecordBasemOld
 
bool mChanged
 

Constructor & Destructor Documentation

CSMWorld::TouchCommand::TouchCommand ( IdTable model,
const std::string &  id,
QUndoCommand parent = nullptr 
)

Here is the call graph for this function:

Member Function Documentation

void CSMWorld::TouchCommand::redo ( )
override
void CSMWorld::TouchCommand::undo ( )
override

Member Data Documentation

bool CSMWorld::TouchCommand::mChanged
private
std::string CSMWorld::TouchCommand::mId
private
std::unique_ptr<RecordBase> CSMWorld::TouchCommand::mOld
private
IdTable& CSMWorld::TouchCommand::mTable
private

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