| 78 | } |
| 79 | |
| 80 | void 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 | |
| 86 | void TemplatePage::extractTemplate() |
| 87 | { |
nothing calls this directly
no test coverage detected