18#ifndef BRIDGETERMINALSCOMMAND_H
19#define BRIDGETERMINALSCOMMAND_H
21#include <QUndoCommand>
26#include "../terminalstrip.h"
The BridgeTerminalsCommand class UndoCommand use to create bridge between terminals of a terminals st...
Definition bridgeterminalscommand.h:34
QVector< QSharedPointer< RealTerminal > > m_real_terminal_vector
Definition bridgeterminalscommand.h:44
~BridgeTerminalsCommand() override
Definition bridgeterminalscommand.h:37
void redo() override
Definition bridgeterminalscommand.cpp:38
QSharedPointer< TerminalStripBridge > m_bridge
Definition bridgeterminalscommand.h:45
void undo() override
Definition bridgeterminalscommand.cpp:31
QPointer< TerminalStrip > m_strip
Definition bridgeterminalscommand.h:43
The TerminalStrip class This class hold all the datas and configurations of a terminal strip (but the...
Definition terminalstrip.h:45
The UnBridgeTerminalsCommand class UndoCommand use to remove bridge between terminals of a terminals ...
Definition bridgeterminalscommand.h:55
QSharedPointer< TerminalStripBridge > m_bridge
Definition bridgeterminalscommand.h:65
QVector< QSharedPointer< RealTerminal > > m_terminals
Definition bridgeterminalscommand.h:66
void undo() override
Definition bridgeterminalscommand.cpp:76
QPointer< TerminalStrip > m_strip
Definition bridgeterminalscommand.h:64
~UnBridgeTerminalsCommand() override
Definition bridgeterminalscommand.h:58
void redo() override
Definition bridgeterminalscommand.cpp:83