diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-24 16:31:32 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-24 16:31:32 (GMT) |
commit | 417f383de40748ebe55d282f473d3d5baa8a254e (patch) | |
tree | 62fa40962cd36d22607cede47c55dfc1c7cfe9a4 /src/script/api/qscriptstring_p.h | |
parent | ec30175915542e3b5c9cff2d807c62ad93d39a54 (diff) | |
download | Qt-417f383de40748ebe55d282f473d3d5baa8a254e.zip Qt-417f383de40748ebe55d282f473d3d5baa8a254e.tar.gz Qt-417f383de40748ebe55d282f473d3d5baa8a254e.tar.bz2 |
pass engine and identifier to QScriptStringPrivate constructor
Small cleanup/optimization.
Diffstat (limited to 'src/script/api/qscriptstring_p.h')
-rw-r--r-- | src/script/api/qscriptstring_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/qscriptstring_p.h b/src/script/api/qscriptstring_p.h index 74094bf..3413315 100644 --- a/src/script/api/qscriptstring_p.h +++ b/src/script/api/qscriptstring_p.h @@ -69,10 +69,10 @@ class QScriptEngine; class QScriptStringPrivate { public: - QScriptStringPrivate(); + QScriptStringPrivate(QScriptEngine *engine, const JSC::Identifier &id); ~QScriptStringPrivate(); - static void init(QScriptString &q, QScriptEngine *engine, const JSC::Identifier &value); + static void init(QScriptString &q, QScriptEngine *engine, const JSC::Identifier &id); QBasicAtomicInt ref; #ifndef QT_NO_QOBJECT |