[webkit-qt] Can I return MyQObject from a slot.
mital.d.vora at gmail.com
Sun Nov 29 03:53:49 PST 2009
On Sun, Nov 29, 2009 at 4:27 PM, Luciano Montanaro <mikelima at cirulla.net>wrote:
> On sabato 28 novembre 2009, Mital Vora wrote:
> > hey guys,
> > 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
> 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.
> Luciano Montanaro //
> \X/ mikelima at cirulla.net
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-qt