X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/756baf5c8eaf003e8271dab9c395de2b0e704857..9bfa0c13066918f440ac2b5461fb3f8847f43fd6:/AbstractInterface.cpp?ds=inline diff --git a/AbstractInterface.cpp b/AbstractInterface.cpp index 1d1e41d..a32f78e 100644 --- a/AbstractInterface.cpp +++ b/AbstractInterface.cpp @@ -1,6 +1,7 @@ #include "AbstractInterface.h" #include "BlockParameterPort.h" #include "AbstractBlock.h" +#include "Parameters.h" AbstractInterface::AbstractInterface(AbstractBlock* _owner) { @@ -18,7 +19,7 @@ AbstractInterface::AbstractInterface(AbstractBlock* _owner) { AbstractInterface::AbstractInterface(AbstractBlock* _owner, const QString& _name, int _direction, int _purpose, const QString& _type, const QString& _width, int _endianess) { owner = _owner; - name = AbstractBlock::normalizeName(_name); + name = Parameters::normalizeName(_name); width = _width; direction = _direction; purpose = _purpose; @@ -29,7 +30,7 @@ AbstractInterface::AbstractInterface(AbstractBlock* _owner, const QString& _name AbstractInterface::AbstractInterface(AbstractInterface* other) { owner = NULL; - name = AbstractBlock::normalizeName(other->name); + name = Parameters::normalizeName(other->name); type = other->type; width = other->width; direction = other->direction; @@ -39,7 +40,7 @@ AbstractInterface::AbstractInterface(AbstractInterface* other) { } void AbstractInterface::setName(const QString& _name) { - name = AbstractBlock::normalizeName(_name); + name = Parameters::normalizeName(_name); } AbstractInterface::~AbstractInterface() {