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

#include <addterminalstripcommand.h>

Inherits QUndoCommand.

Collaboration diagram for AddTerminalStripCommand:
Collaboration graph

Public Member Functions

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

Private Attributes

QPointer< TerminalStripm_strip
 
QPointer< QETProjectm_project
 

Constructor & Destructor Documentation

◆ AddTerminalStripCommand()

AddTerminalStripCommand::AddTerminalStripCommand ( TerminalStrip strip,
QETProject project,
QUndoCommand *  parent = nullptr 
)

◆ ~AddTerminalStripCommand()

AddTerminalStripCommand::~AddTerminalStripCommand ( )
override

Member Function Documentation

◆ redo()

void AddTerminalStripCommand::redo ( )
override

◆ undo()

void AddTerminalStripCommand::undo ( )
override

Member Data Documentation

◆ m_project

QPointer<QETProject> AddTerminalStripCommand::m_project
private

◆ m_strip

QPointer<TerminalStrip> AddTerminalStripCommand::m_strip
private

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