QElectroTech 0.100.0-dev
|
The ChangeTerminalStripData class. More...
#include <changeterminalstripdata.h>
Inherits QUndoCommand.
Public Member Functions | |
ChangeTerminalStripData (TerminalStrip *strip, const TerminalStripData &data, QUndoCommand *parent=nullptr) | |
void | undo () override |
void | redo () override |
Private Attributes | |
QPointer< TerminalStrip > | m_strip |
TerminalStripData | m_old_data |
TerminalStripData | m_new_data |
The ChangeTerminalStripData class.
ChangeTerminalStripData::ChangeTerminalStripData | ( | TerminalStrip * | strip, |
const TerminalStripData & | data, | ||
QUndoCommand * | parent = nullptr |
||
) |
|
override |
|
override |
|
private |
|
private |
|
private |