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

Method filterTextChanged

kdevplatform/shell/sessionchooserdialog.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void SessionChooserDialog::filterTextChanged()
67{
68 m_view->selectionModel()->setCurrentIndex(m_model->index(0, 0), QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
69 bool enabled = m_view->model()->rowCount(QModelIndex())>0;
70 m_buttonBox->button(QDialogButtonBox::Ok)->setEnabled(enabled);
71 m_deleteButton->setVisible(false);
72}
73
74void SessionChooserDialog::doubleClicked(const QModelIndex& index)
75{

Callers

nothing calls this directly

Calls 8

setCurrentIndexMethod · 0.80
buttonMethod · 0.80
QModelIndexClass · 0.70
indexMethod · 0.45
rowCountMethod · 0.45
modelMethod · 0.45
setEnabledMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected