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

Method add

plugins/projectfilter/projectfilterconfigpage.cpp:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void ProjectFilterConfigPage::add()
140{
141 m_model->insertRows(m_model->rowCount(), 1);
142 const QModelIndex index = m_model->index(m_model->rowCount() - 1, FilterModel::Pattern, QModelIndex());
143 m_ui->filters->setCurrentIndex(index);
144 m_ui->filters->edit(index);
145}
146
147void ProjectFilterConfigPage::remove()
148{

Callers

nothing calls this directly

Calls 6

setCurrentIndexMethod · 0.80
QModelIndexClass · 0.50
insertRowsMethod · 0.45
rowCountMethod · 0.45
indexMethod · 0.45
editMethod · 0.45

Tested by

no test coverage detected