BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Adapter to execute our commands within Qt undo/redo framework. More...
Public Member Functions | |
CommandAdapter (std::shared_ptr< AbstractItemCommand > command) | |
~CommandAdapter () override | |
void | redo () override |
void | undo () override |
Private Attributes | |
std::shared_ptr< AbstractItemCommand > | m_command |
Adapter to execute our commands within Qt undo/redo framework.
Definition at line 28 of file commandadapter.h.
CommandAdapter::CommandAdapter | ( | std::shared_ptr< AbstractItemCommand > | command | ) |
Definition at line 20 of file commandadapter.cpp.
|
overridedefault |
|
override |
|
override |
Definition at line 27 of file commandadapter.cpp.
References m_command.
|
private |
Definition at line 37 of file commandadapter.h.