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

Method executeScriptEvent

core/document.cpp:2216–2222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2214}
2215
2216void DocumentPrivate::executeScriptEvent(const std::shared_ptr<Event> &event, const Okular::ScriptAction *linkscript)
2217{
2218 if (!m_scripter) {
2219 m_scripter = new Scripter(this);
2220 }
2221 m_scripter->execute(event.get(), linkscript->scriptType(), linkscript->script());
2222}
2223
2224Document::Document(QWidget *widget)
2225 : QObject(nullptr)

Callers 8

openDocumentMethod · 0.80
processFormatActionMethod · 0.80
processFocusActionMethod · 0.80
processValidateActionMethod · 0.80
processDocumentActionMethod · 0.80

Calls 4

scriptTypeMethod · 0.80
scriptMethod · 0.80
executeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected