MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / unregisterInspectionWidgetFactory

Method unregisterInspectionWidgetFactory

Suscan/Library.cpp:1285–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283}
1284
1285bool
1286Singleton::unregisterInspectionWidgetFactory(SigDigger::InspectionWidgetFactory *factory)
1287{
1288 int index = this->inspectionWidgetFactories.indexOf(factory);
1289
1290 if (index == -1)
1291 return false;
1292
1293 this->inspectionWidgetFactories.removeAt(index);
1294 this->inspectionWidgetFactoryTable.remove(factory->name());
1295
1296 return true;
1297}
1298
1299SigDigger::InspectionWidgetFactory *
1300Singleton::findInspectionWidgetFactory(QString const &name) const

Callers 1

unregisterGloballyMethod · 0.80

Calls 2

removeMethod · 0.80
nameMethod · 0.45

Tested by 1

unregisterGloballyMethod · 0.64