| 448 | { |
| 449 | public: |
| 450 | PrintDHelper(Okular::Document *document, const QString &script, const QString &result) |
| 451 | : action(new Okular::ScriptAction(Okular::JavaScript, script)) |
| 452 | , box(new MessageBoxHelper(QMessageBox::Ok, result, QMessageBox::Critical, QStringLiteral("Okular"), false)) |
| 453 | { |
| 454 | document->processAction(action.data()); |
| 455 | } |
| 456 | |
| 457 | private: |
| 458 | QScopedPointer<Okular::ScriptAction> action; |
nothing calls this directly
no test coverage detected