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

#include <addterminalstripcommand.h>

Inherits QUndoCommand.

Collaboration diagram for RemoveTerminalStripCommand:
Collaboration graph

Public Member Functions

 RemoveTerminalStripCommand (TerminalStrip *strip, QETProject *project, QUndoCommand *parent=nullptr)
 
 ~RemoveTerminalStripCommand () override
 
void undo () override
 
void redo () override
 

Private Attributes

QPointer< TerminalStripm_strip
 
QPointer< QETProjectm_project
 
QVector< QPointer< Element > > m_elements
 

Constructor & Destructor Documentation

◆ RemoveTerminalStripCommand()

RemoveTerminalStripCommand::RemoveTerminalStripCommand ( TerminalStrip strip,
QETProject project,
QUndoCommand *  parent = nullptr 
)
Here is the call graph for this function:

◆ ~RemoveTerminalStripCommand()

RemoveTerminalStripCommand::~RemoveTerminalStripCommand ( )
override

Member Function Documentation

◆ redo()

void RemoveTerminalStripCommand::redo ( )
override

◆ undo()

void RemoveTerminalStripCommand::undo ( )
override

Member Data Documentation

◆ m_elements

QVector<QPointer<Element> > RemoveTerminalStripCommand::m_elements
private

◆ m_project

QPointer<QETProject> RemoveTerminalStripCommand::m_project
private

◆ m_strip

QPointer<TerminalStrip> RemoveTerminalStripCommand::m_strip
private

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