MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / remove

Method remove

lib/aggregation/aggregate.cpp:266–277  ·  view source on GitHub ↗

! \fn void Aggregate::remove(QObject *component) Removes the \a component from the aggregate. \sa Aggregate::add() */

Source from the content-addressed store, hash-verified

264 \sa Aggregate::add()
265*/
266void Aggregate::remove(QObject *component)
267{
268 if (!component)
269 return;
270 {
271 QWriteLocker locker(&lock());
272 aggregateMap().remove(component);
273 m_components.removeAll(component);
274 disconnect(component, SIGNAL(destroyed(QObject*)), this, SLOT(deleteSelf(QObject*)));
275 }
276 emit changed();
277}

Callers 5

_create_dist_dmgMethod · 0.45
_create_dist_appimageMethod · 0.45
foreachFunction · 0.45
~AggregateMethod · 0.45
deleteSelfMethod · 0.45

Calls 1

removeAllMethod · 0.80

Tested by

no test coverage detected