| 84 | } |
| 85 | |
| 86 | static void initPluginRepository() |
| 87 | { |
| 88 | if (!s_pluginRepository()->factories.isEmpty()) |
| 89 | return; |
| 90 | |
| 91 | insertFactory(new MessageHandlerFactory); |
| 92 | insertFactory(new MetaObjectBrowserFactory); |
| 93 | insertFactory(new MetaTypeBrowserFactory); |
| 94 | insertFactory(new ObjectInspectorFactory); |
| 95 | insertFactory(new ProblemReporterFactory); |
| 96 | insertFactory(new ResourceBrowserFactory); |
| 97 | |
| 98 | PluginManager<ToolUiFactory, ProxyToolUiFactory> pm; |
| 99 | foreach (ToolUiFactory *factory, pm.plugins()) |
| 100 | insertFactory(factory); |
| 101 | } |
| 102 | |
| 103 | static bool toolLessThan(const ToolInfo &lhs, const ToolInfo &rhs) |
| 104 | { |
no test coverage detected