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

Method unregisterTabWidgetFactory

Suscan/Library.cpp:1237–1249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237bool
1238Singleton::unregisterTabWidgetFactory(SigDigger::TabWidgetFactory *factory)
1239{
1240 int index = this->tabWidgetFactories.indexOf(factory);
1241
1242 if (index == -1)
1243 return false;
1244
1245 this->tabWidgetFactories.removeAt(index);
1246 this->tabWidgetFactoryTable.remove(factory->name());
1247
1248 return true;
1249}
1250
1251SigDigger::TabWidgetFactory *
1252Singleton::findTabWidgetFactory(QString const &name) const

Callers 1

unregisterGloballyMethod · 0.80

Calls 2

removeMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected