MCPcopy Create free account
hub / github.com/KDE/okular / PrintDHelper

Method PrintDHelper

autotests/jsfunctionstest.cpp:450–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448{
449public:
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
457private:
458 QScopedPointer<Okular::ScriptAction> action;

Callers

nothing calls this directly

Calls 2

processActionMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected