[Development] [Interest] QJSEngine and error line
Joerg Bornemann
joerg.bornemann at theqtcompany.com
Wed Apr 8 16:10:14 CEST 2015
On 08-Apr-15 16:06, Sze Howe Koh wrote:
> I think we should document this somewhere, if it isn't already done (I
> searched but couldn't find anything). I'm happy to volunteer if
> necessary. Could you please provide a list of built-in properties of
> various QJSValue types?
The docs state mention that isError() returns true if the value is an
object of the Error class. That's a JavaScript class. We shouldn't
duplicate the JavaScript documentation.
> Also, what do you think of some API that returns a list of available
> properties? (similar to QObject::dynamicPropertyNames() )
See QJSValueIterator.
BR,
Joerg
More information about the Development
mailing list