| 55 | DescriptionRole = Qt::UserRole+1 |
| 56 | }; |
| 57 | explicit PluginsModel(QObject* parent = nullptr) |
| 58 | : QAbstractListModel(parent) |
| 59 | { |
| 60 | m_plugins = KDevelop::Core::self()->pluginControllerInternal()->loadedPlugins(); |
| 61 | std::sort(m_plugins.begin(), m_plugins.end(), sortPlugins); |
| 62 | } |
| 63 | |
| 64 | KDevelop::IPlugin *pluginForIndex(const QModelIndex& index) const |
| 65 | { |
nothing calls this directly
no test coverage detected