Bug 41676 - [Qt] QtScript should have an API for creating custom native objects
Summary: [Qt] QtScript should have an API for creating custom native objects
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks: 31863
  Show dependency treegraph
 
Reported: 2010-07-06 03:05 PDT by Kent Hansen
Modified: 2011-07-07 07:50 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Hansen 2010-07-06 03:05:42 PDT
See http://doc.trolltech.com/latest/qscriptengine.html#newObject-2

This requires providing the QScriptClass interface (see http://doc.trolltech.com/latest/qscriptclass.html).
Comment 1 Kent Hansen 2010-07-06 03:29:10 PDT
There should also be corresponding methods QScriptValue::scriptClass() and QScriptValue::setScriptClass().
Comment 2 Jędrzej Nowacki 2011-07-07 07:50:03 PDT
Porting QtScript API over JSC C API will not be continued.