Hello Developers, I came to know QtWebKit has the way to add new property to "window" object using QWebFrame::addToJavaScriptWindowObject(). Really nice & intuitive because it just takes the QObject & name of the object. MOC rocks here :)
But I want to add anew Class to the window class, so that it is instantiate-able from JavaScript. eg) var a = new MyNativeQtClass(); a.myqtInvocableMethod(); In the above snippet "MyNativeQtClass" is as a C++/QtClass derived from QObject. How to do that? -- *Arunprasad Rajkumar* http://in.linkedin.com/in/ararunprasad
_______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-qt
