MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / removeConnection

Method removeConnection

TaskFlow/core/Flow.cpp:146–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void 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
160QList<TaskConnection *> Flow::connections() const
161{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected