X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/f311fbc3e1436bf248c54225f0743cfa671c4bd7..0d3590739ff5a4ca9e87c052ac142f5d1d3a68ab:/FunctionalInterface.cpp diff --git a/FunctionalInterface.cpp b/FunctionalInterface.cpp index bce7ca1..d34cc8d 100644 --- a/FunctionalInterface.cpp +++ b/FunctionalInterface.cpp @@ -19,9 +19,8 @@ FunctionalInterface::FunctionalInterface(AbstractBlock* _owner, ReferenceInterfa name = reference->getName(); width = reference->getWidth(); direction = reference->getDirection(); - purpose = reference->getPurpose(); - level = reference->getLevel(); - connectedFrom = NULL; + purpose = reference->getPurpose(); + connectedFrom = NULL; } bool FunctionalInterface::isFunctionalInterface() { @@ -79,8 +78,7 @@ AbstractInterface *FunctionalInterface::clone() { FunctionalInterface *inter = new FunctionalInterface(owner, reference); inter->setWidth(width); inter->setDirection(direction); - inter->setPurpose(purpose); - inter->setLevel(level); + inter->setPurpose(purpose); inter->connectFrom(NULL); inter->setName(reference->getName()+"_"+QString::number(id+1)); return inter;