QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ChangeTerminalStripData Class Reference

The ChangeTerminalStripData class. More...

#include <changeterminalstripdata.h>

Inherits QUndoCommand.

Collaboration diagram for ChangeTerminalStripData:
Collaboration graph

Public Member Functions

 ChangeTerminalStripData (TerminalStrip *strip, const TerminalStripData &data, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Private Attributes

QPointer< TerminalStripm_strip
 
TerminalStripData m_old_data
 
TerminalStripData m_new_data
 

Detailed Description

The ChangeTerminalStripData class.

Constructor & Destructor Documentation

◆ ChangeTerminalStripData()

ChangeTerminalStripData::ChangeTerminalStripData ( TerminalStrip strip,
const TerminalStripData data,
QUndoCommand *  parent = nullptr 
)
Here is the call graph for this function:

Member Function Documentation

◆ redo()

void ChangeTerminalStripData::redo ( )
override

◆ undo()

void ChangeTerminalStripData::undo ( )
override

Member Data Documentation

◆ m_new_data

TerminalStripData ChangeTerminalStripData::m_new_data
private

◆ m_old_data

TerminalStripData ChangeTerminalStripData::m_old_data
private

◆ m_strip

QPointer<TerminalStrip> ChangeTerminalStripData::m_strip
private

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