diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-31 13:27:33 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-07-31 14:11:48 (GMT) |
commit | 31263060c53597bfc7677ccc526cc8a19f62b387 (patch) | |
tree | 07c4d434d902c0bbf31c0233718ac043d1f686b6 /src/script/api/qscriptcontext_p.h | |
parent | 701303d374b7da33166744d290ec4dbc789c7031 (diff) | |
download | Qt-31263060c53597bfc7677ccc526cc8a19f62b387.zip Qt-31263060c53597bfc7677ccc526cc8a19f62b387.tar.gz Qt-31263060c53597bfc7677ccc526cc8a19f62b387.tar.bz2 |
Remove QScriptContextPrivate, QScriptContext is now a JSC::CallFrame
There will not be instances of QScriptContext anymore. Pointer to
QScriptContext are just pointer to JSC::CallFrame
This simplifies the code as we do not need to manage the memory for the
QScriptContext anymore.
It is compatible because it is not possible to create
QScriptContext. They were all created by QScriptEngine.
QScriptContext constructor is private.
Aknoweldged-by: Kent
Diffstat (limited to 'src/script/api/qscriptcontext_p.h')
-rw-r--r-- | src/script/api/qscriptcontext_p.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/script/api/qscriptcontext_p.h b/src/script/api/qscriptcontext_p.h index 25104a1..663e758 100644 --- a/src/script/api/qscriptcontext_p.h +++ b/src/script/api/qscriptcontext_p.h @@ -72,20 +72,6 @@ namespace JSC class QScriptEnginePrivate; class QScriptContext; -class QScriptContextPrivate -{ -public: - QScriptContextPrivate(); - ~QScriptContextPrivate(); - - static QScriptContext *create(JSC::ExecState *frame, - QScriptEnginePrivate *engine); - static const QScriptContextPrivate *get(const QScriptContext *q); - static QScriptContextPrivate *get(QScriptContext *q); - - JSC::ExecState *frame; - QScriptEnginePrivate *engine; -}; QT_END_NAMESPACE |