MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / currentPlugin

Method currentPlugin

lib/extensionsystem/pluginview.cpp:124–131  ·  view source on GitHub ↗

! Returns the current selection in the list of plugins. */

Source from the content-addressed store, hash-verified

122 Returns the current selection in the list of plugins.
123*/
124PluginSpec *PluginView::currentPlugin() const
125{
126 if (!m_ui->categoryWidget->currentItem())
127 return 0;
128 if (!m_ui->categoryWidget->currentItem()->data(0, Qt::UserRole).isNull())
129 return m_ui->categoryWidget->currentItem()->data(0, Qt::UserRole).value<PluginSpec *>();
130 return 0;
131}
132
133void PluginView::updateList()
134{

Callers 3

updateButtonsMethod · 0.80
openDetailsMethod · 0.80
openErrorDetailsMethod · 0.80

Calls 2

isNullMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected