mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-01 10:50:03 +02:00
Improve undo command when remove a terminal strip
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
Copyright 2006-2021 The QElectroTech Team
|
||||
This file is part of QElectroTech.
|
||||
|
||||
@@ -58,6 +58,8 @@ class TerminalStrip : public QObject
|
||||
int physicalTerminalCount() const;
|
||||
TerminalStripIndex index(int index = 0);
|
||||
|
||||
QVector<QPointer<Element>> terminalElement() const;
|
||||
|
||||
private:
|
||||
QSharedPointer<RealTerminal> realTerminal(Element *terminal);
|
||||
QSharedPointer<PhysicalTerminal> physicalTerminal(QSharedPointer<RealTerminal> terminal);
|
||||
|
||||
Reference in New Issue
Block a user