int id = getInterfaceMultiplicity();\r
if (id < 0) return NULL;\r
FunctionalInterface *inter = new FunctionalInterface(owner, reference);\r
- inter->setWidth(width);\r
- inter->setDirection(direction);\r
- inter->setPurpose(purpose); \r
- inter->connectFrom(NULL);\r
+ inter->setWidth(width); \r
inter->setName(reference->getName()+"_"+QString::number(id+1));\r
return inter;\r
}\r