mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-22 12:39:59 +01:00
WIP
This commit is contained in:
@@ -90,7 +90,7 @@ class Terminal : public QGraphicsObject, public PropertiesInterface
|
||||
bool canBeLinkedTo(Terminal *);
|
||||
|
||||
// methods related to XML import/export
|
||||
static bool valideXml(QDomElement &);
|
||||
static bool valideXml(const QDomElement &);
|
||||
bool fromXml (const QDomElement &) override;
|
||||
QDomElement toXml (QDomDocument &) const override;
|
||||
|
||||
@@ -148,9 +148,7 @@ class Terminal : public QGraphicsObject, public PropertiesInterface
|
||||
QColor hovered_color_{Terminal::hovered_color_};
|
||||
/// Number of Terminal
|
||||
QString number_terminal_;
|
||||
/// Name of Terminal
|
||||
QString name_terminal_;
|
||||
bool name_terminal_hidden;
|
||||
bool name_terminal_hidden{true};
|
||||
|
||||
private:
|
||||
void init(QString number, QString name, bool hiddenName);
|
||||
@@ -174,14 +172,6 @@ inline QString Terminal::number() const {
|
||||
return(number_terminal_);
|
||||
}
|
||||
|
||||
/**
|
||||
@brief Terminal::name
|
||||
@return the name of terminal.
|
||||
*/
|
||||
inline QString Terminal::name() const {
|
||||
return(name_terminal_);
|
||||
}
|
||||
|
||||
QList<Terminal *> relatedPotentialTerminal (const Terminal *terminal,
|
||||
const bool all_diagram = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user