Return value of KHTMLPart::execute(...)

Grimm, Cornelius grimm at valudo.de
Mon Aug 18 10:38:46 BST 2003


Hi,

when I execute an JavaScript with KHTMLPart::execute(...), the return value
is a QVariant of type 0 (QVariant::Invalid) if the script fails for any
reason, and it's also of type 0 if the javascript simply returns nothing
(void functions).

Is it possible to distinguish between these two cases?

Thanks in advance,
Cornelius




More information about the kfm-devel mailing list