[webkit-qt] JSFunction as parameter in slot?
sunny.cpp at gmail.com
Mon Dec 27 01:23:19 PST 2010
Somebody replied over here
"Unfortunately, it's impossible to do this in a cleaner way in QtWebKit, at
to QtWebKit, on top of QtScript, but I'm not sure what the progress on that
do you think that It is true?
On Sun, Dec 26, 2010 at 11:26 AM, sunny shah <sunny.cpp at gmail.com> wrote:
> function testFunc( func1,func2,cond )
> if ( cond == 1)
> Question for me is
> 2). how to call same JS function from C++ again.
> Here are my non-efficient solutions,
> For Q.1-> taking JSFunction arguement as a QString gives me full function
> code, So in this case I need to write code to extract just function name
> from there.
> this I need to construct a string of function name + all the function
> So is there any better solutions available for this problem?
> Many Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-qt