| 31 | using QtNodes::TypeConverter; |
| 32 | |
| 33 | Connection:: |
| 34 | Connection(PortType portType, |
| 35 | Node& node, |
| 36 | PortIndex portIndex) |
| 37 | : _uid(QUuid::createUuid()) |
| 38 | , _style(QtNodes::StyleCollection::connectionStyle()) |
| 39 | , _outPortIndex(INVALID) |
| 40 | , _inPortIndex(INVALID) |
| 41 | , _connectionState() |
| 42 | { |
| 43 | setNodeToPort(node, portType, portIndex); |
| 44 | |
| 45 | setRequiredPort(oppositePort(portType)); |
| 46 | } |
| 47 | |
| 48 | |
| 49 | Connection:: |
nothing calls this directly
no test coverage detected