summaryrefslogtreecommitdiffstats
path: root/src/script/api/qscriptengine_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-11-09 01:58:49 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-11 16:06:45 (GMT)
commitfed6d254469fef324187aaf9f9ebb365b346c85a (patch)
treea6a9a6e365719cb5ed8fc45d94b13db4032bee24 /src/script/api/qscriptengine_p.h
parent8b2d721cac24f173535ad7ac27dbb5cdf4faad4a (diff)
downloadQt-fed6d254469fef324187aaf9f9ebb365b346c85a.zip
Qt-fed6d254469fef324187aaf9f9ebb365b346c85a.tar.gz
Qt-fed6d254469fef324187aaf9f9ebb365b346c85a.tar.bz2
Add QScriptDeclarativeClass
QScriptDeclarativeClass is a private, but exported, class used by the declarativeui module. It is very similar to QScriptClass, but slightly faster and provides a couple of "backdoor" extension mechanisms used by declarative. Reviewed-by: Warwick Allison
Diffstat (limited to 'src/script/api/qscriptengine_p.h')
-rw-r--r--src/script/api/qscriptengine_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/qscriptengine_p.h b/src/script/api/qscriptengine_p.h
index d12b0f4..e7cdcda 100644
--- a/src/script/api/qscriptengine_p.h
+++ b/src/script/api/qscriptengine_p.h
@@ -174,7 +174,7 @@ public:
static JSC::Register *thisRegisterForFrame(JSC::ExecState *frame);
JSC::CallFrame *pushContext(JSC::CallFrame *exec, JSC::JSValue thisObject, const JSC::ArgList& args,
- JSC::JSObject *callee, bool calledAsConstructor = false);
+ JSC::JSObject *callee, bool calledAsConstructor = false, bool clearScopeChain = false);
void popContext();
void mark(JSC::MarkStack& markStack);