| 1283 | } |
| 1284 | |
| 1285 | bool |
| 1286 | Singleton::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 | |
| 1299 | SigDigger::InspectionWidgetFactory * |
| 1300 | Singleton::findInspectionWidgetFactory(QString const &name) const |