nvbn/everpad — pull request #83 by fmoo (2012-10-06 07:24:54+00:00)
Title: Use window-bound QtSlots instead of console tricks in editor

QtFrame.addToJavaScriptWindowObject allows your Qt Application to
register QObjects as attributes on the Javascript Window object.

Use this, in conjunction with strongly typed Slots() in the QWebPage
subclass, to remove the previously used console.log() message-passing
tricks.

Also, I tweaked the logic in insertLink() to fix a bug where doing
"Change Link" twice would continue to show the first link.