MCPcopy Create free account
hub / github.com/KDE/kdevelop / PluginsModel

Method PluginsModel

kdevplatform/shell/loadedpluginsdialog.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 5

sortFunction · 0.85
loadedPluginsMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected