+void ConnectedInterface::disconnectTo(ConnectedInterface *iface) {\r
+ \r
+ connectedTo.removeAll(iface);\r
+ iface->connectedFrom = NULL;\r
+ ConnectedInterface* asso1 = (ConnectedInterface*)associatedIface;\r
+ ConnectedInterface* asso2 = (ConnectedInterface*)(iface->associatedIface);\r
+ if ((asso1 != NULL) && (asso2 != NULL)) {\r
+ asso1->connectedTo.removeAll(asso2);\r
+ asso2->connectedFrom = NULL;\r
+ }\r