MCPcopy Create free account
hub / github.com/cloose/CuteMarkEd / addJavaScriptObject

Method addJavaScriptObject

app/mainwindow.cpp:858–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856}
857
858void MainWindow::addJavaScriptObject()
859{
860 // add view synchronizer object to javascript engine
861 ui->webView->page()->mainFrame()->addToJavaScriptWindowObject("synchronizer", viewSynchronizer);
862}
863
864bool MainWindow::load(const QString &fileName)
865{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected