| 138 | |
| 139 | |
| 140 | CableWidget::CableWidget() { |
| 141 | internal = new Internal; |
| 142 | color = color::BLACK_TRANSPARENT; |
| 143 | |
| 144 | outputPlug = new PlugWidget; |
| 145 | outputPlug->internal->cableWidget = this; |
| 146 | outputPlug->internal->type = engine::Port::OUTPUT; |
| 147 | |
| 148 | inputPlug = new PlugWidget; |
| 149 | inputPlug->internal->cableWidget = this; |
| 150 | inputPlug->internal->type = engine::Port::INPUT; |
| 151 | } |
| 152 | |
| 153 | |
| 154 | CableWidget::~CableWidget() { |
nothing calls this directly
no outgoing calls
no test coverage detected