qt-interest@trolltech.com
[Top] [All Lists]

Re: apply tidy directly for the page loaded with webkit without saving i

Subject: Re: apply tidy directly for the page loaded with webkit without saving it on the disk
From: André Somers
Date: Fri, 6 Jun 2008 10:17:08 +0200
Hi André,
 
please can you have an idea for how to use
 "QVariant QWebFrame::evaluateJavaScript ( const QString & scriptSource )   [slot]"

i do this QVariant script =v.page()->mainFrame()->evaluateJavaScript (frameText );

but i don't now what is the init value of  QVariant ???
and for QStrig & scritSource it's the url of file .js or what ??

thank's in advance,
Sanaa.
The argument for evaluateJavaScript is a QString containing a piece of _javascript_. I don't get what you mean by "i don't now what is the init value of  QVariant". Init value? What are you talking about? QVariant is the return type of the evaluateJavaScript function.
 
André
 
<Prev in Thread] Current Thread [Next in Thread>