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

Method addCheckSetSelection

plugins/clazy/config/checksetmanagewidget.cpp:230–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void CheckSetManageWidget::addCheckSetSelection()
231{
232 const auto checkSetSelectionName = askNewCheckSetSelectionName(QString());
233 if (checkSetSelectionName.isEmpty()) {
234 return;
235 }
236
237 const int checkSetSelectionIndex = m_checkSetSelectionListModel->addCheckSetSelection(checkSetSelectionName);
238
239 m_ui.checkSetSelect->setCurrentIndex(checkSetSelectionIndex);
240 m_ui.enabledChecks->setFocus(Qt::OtherFocusReason);
241}
242
243void CheckSetManageWidget::cloneSelectedCheckSetSelection()
244{

Callers

nothing calls this directly

Calls 3

setCurrentIndexMethod · 0.80
QStringClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected