Regards, Mital Vora.
On Sun, Nov 29, 2009 at 5:23 PM, Mital Vora <[email protected]> wrote: > > Regards, > > Mital Vora. > > > On Sun, Nov 29, 2009 at 4:27 PM, Luciano Montanaro > <[email protected]>wrote: > >> On sabato 28 novembre 2009, Mital Vora wrote: >> > hey guys, >> > >> > I am a newbie to Qt. I am trying to Inject my custom Object in >> JavaScript >> > space using QWebFrame::addToJavaScriptWindowObject( ) method. I have few >> > doubts related to this. >> >> I'm relatively a newbie too, but I've done some experiment. >> >> > >> > 1) can I return custom datatype (a class derived from QObject) MyQObject >> > from a slot. >> > >> >> You can do this. I think it has to be a QObject, though. >> And you should return it as QObject or QWidget, not as a subclass. >> >> can u give me some sample code then it would be of great help. > >> >> What I'm still trying to find out is how to obtain a pointer to the >> currently >> used engine (to return an array of values, for example). >> > I confirmed with someone in #qtwebkit @ freenode.. its not possible to get > the engine out of QWebFrame. > In Qt 4.6 > > >> >> Luciano >> >> I am still not sure. all the other things which I mentioned is preety much straight forward using JavaScriptCore (I have done it in windows). I would like to take opinion of anyone from the core development team. I would also be interested in developing those features. >> -- >> Luciano Montanaro // >> \X/ [email protected] >> _______________________________________________ >> webkit-qt mailing list >> [email protected] >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt >> > >
_______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
