| 144 | } |
| 145 | |
| 146 | void Flow::removeConnection(TaskConnection *connection) |
| 147 | { |
| 148 | if (!connection) { |
| 149 | return; |
| 150 | } |
| 151 | |
| 152 | QMutexLocker locker(&m_flowMutex); |
| 153 | |
| 154 | if (m_connections.removeOne(connection)) { |
| 155 | emit connectionRemoved(connection); |
| 156 | delete connection; |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | QList<TaskConnection *> Flow::connections() const |
| 161 | { |
nothing calls this directly
no outgoing calls
no test coverage detected