#include <Undo.hpp>
Inherits QUndoCommand.
◆ Action
| Enumerator |
|---|
| cADD_CHILD | |
| cREMOVE_CHILD | |
| cASSIGN_VALUE | |
| cRENAME_CHILD | |
| cNULL_ACTION | |
◆ ~UndoProxyChange()
| wizard::UndoProxyChange::~UndoProxyChange |
( |
| ) |
|
|
override |
◆ createUndo()
References WsfPProxyPath::Back(), cADD_CHILD, cASSIGN_VALUE, WsfPProxy::cPM_CHILD_ADDED, WsfPProxy::cPM_CHILD_MOVED, WsfPProxy::cPM_CHILD_REMOVED, WsfPProxy::cPM_VALUE_CHANGED, cREMOVE_CHILD, cRENAME_CHILD, WsfPProxyObjectMap::FindAt(), WsfPProxyKey::GetMapKey(), WsfPProxyValue::GetObjectMap(), wizard::Undo::Instance(), WsfPProxyValue::Lookup(), mProxyPtr, WsfPProxy::mRoot, mSwapName, mSwapValue, WsfPProxyKey::SetMapKey(), WsfPProxyPath::size(), and WsfPProxyValue::SwapAttr().
Referenced by wizard::Undo::BeforeProxyChange().
◆ redo()
| void wizard::UndoProxyChange::redo |
( |
| ) |
|
|
override |
◆ undo()
| void wizard::UndoProxyChange::undo |
( |
| ) |
|
|
override |
◆ UndoRedo()
| void wizard::UndoProxyChange::UndoRedo |
( |
WsfPProxy * | aProxyPtr | ) |
|
|
protected |
References WsfPProxyObjectMap::AddNew(), cADD_CHILD, cASSIGN_VALUE, cNULL_ACTION, cREMOVE_CHILD, cRENAME_CHILD, WsfPProxyObjectMap::Erase(), WsfPProxyObjectMap::FindAt(), WsfPProxyValue::GetList(), WsfPProxyValue::GetObjectMap(), WsfPProxyNode::GetValue(), WsfPProxyList::Insert(), mAction, mChangePath, WsfPProxyNode::MoveTo(), mProxyPtr, mSwapName, mSwapValue, WsfPProxyNode::NotifyValueAdded(), WsfPProxyNode::NotifyValueChanged(), WsfPProxyNode::NotifyValueMoved(), WsfPProxyList::RemoveNoErase(), and WsfPProxyValue::SwapAttr().
Referenced by redo(), and undo().
◆ mAction
| Action wizard::UndoProxyChange::mAction |
|
protected |
◆ mChangePath
◆ mIsUndone
| bool wizard::UndoProxyChange::mIsUndone |
|
protected |
◆ mProxyPtr
| WsfPProxy* wizard::UndoProxyChange::mProxyPtr |
|
protected |
◆ mSwapName
| std::string wizard::UndoProxyChange::mSwapName |
|
protected |
◆ mSwapValue
The documentation for this class was generated from the following files: