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

Method currentIndexChanged

kdevplatform/shell/settings/templatepage.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void TemplatePage::currentIndexChanged(const QModelIndex& index)
81{
82 QString archive = ui->treeView->model()->data(index, KDevelop::TemplatesModel::ArchiveFileRole).toString();
83 ui->extractButton->setEnabled(QFileInfo::exists(archive));
84}
85
86void TemplatePage::extractTemplate()
87{

Callers

nothing calls this directly

Calls 4

toStringMethod · 0.45
dataMethod · 0.45
modelMethod · 0.45
setEnabledMethod · 0.45

Tested by

no test coverage detected