| 401 | } |
| 402 | |
| 403 | std::tuple<QString, BootEntryListView &, BootEntryListModel &> EFIBootEditor::getBootEntryList(int index) |
| 404 | { |
| 405 | switch(static_cast<BootEntryType>(index)) |
| 406 | { |
| 407 | case BootEntryType::BOOT: |
| 408 | return {tr("Boot"), *ui->boot_entries_list, data.boot_entries_list_model}; |
| 409 | |
| 410 | case BootEntryType::DRIVER: |
| 411 | return {tr("Driver"), *ui->driver_entries_list, data.driver_entries_list_model}; |
| 412 | |
| 413 | case BootEntryType::SYSPREP: |
| 414 | return {tr("System Preparation"), *ui->sysprep_entries_list, data.sysprep_entries_list_model}; |
| 415 | |
| 416 | case BootEntryType::PLATFORM_RECOVERY: |
| 417 | return {tr("Platform Recovery"), *ui->platform_recovery_entries_list, data.platform_recovery_entries_list_model}; |
| 418 | } |
| 419 | |
| 420 | Q_UNREACHABLE(); |
| 421 | } |
| 422 | |
| 423 | std::tuple<QString, BootEntryListView &, BootEntryListModel &> EFIBootEditor::currentBootEntryList() |
| 424 | { |
nothing calls this directly
no outgoing calls
no test coverage detected