| 865 | } |
| 866 | |
| 867 | void MainWindow::exportPdf() |
| 868 | { |
| 869 | if (!verifyCanExport(ExportType::PDF)) { |
| 870 | return; |
| 871 | } |
| 872 | |
| 873 | QString targetFileName = utils::showPdfExportDialog(this, d_currentFileName); |
| 874 | if (targetFileName.isEmpty()) { |
| 875 | return; |
| 876 | } |
| 877 | |
| 878 | qApp->setOverrideCursor(Qt::WaitCursor); |
| 879 | d_driver->exportToPdf(targetFileName); |
| 880 | } |
| 881 | |
| 882 | void MainWindow::goToLine() |
| 883 | { |
nothing calls this directly
no test coverage detected