summaryrefslogtreecommitdiffstats
path: root/src/script/api/api.pri
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-10-26 12:21:27 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-10-28 09:15:32 (GMT)
commit0533c709188d07be0c165838b503124cb6b271e1 (patch)
treed866357d3ac735e9d1527816f83379e6e5746f78 /src/script/api/api.pri
parent8cda1c6fef8bd9c4635743fae05158306c2ab09f (diff)
downloadQt-0533c709188d07be0c165838b503124cb6b271e1.zip
Qt-0533c709188d07be0c165838b503124cb6b271e1.tar.gz
Qt-0533c709188d07be0c165838b503124cb6b271e1.tar.bz2
Say hello to QScriptProgram :-)
QScriptProgram encapsulates a Qt Script program (AKA a script). It retains the compiled representation of the script, so that repeated evaluation of the same script becomes faster. An overload of QScriptEngine::evaluate() that takes a QScriptProgram has been added. Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/script/api/api.pri')
-rw-r--r--src/script/api/api.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/api/api.pri b/src/script/api/api.pri
index 17ec9b6..aebadd5 100644
--- a/src/script/api/api.pri
+++ b/src/script/api/api.pri
@@ -6,6 +6,7 @@ SOURCES += \
$$PWD/qscriptengine.cpp \
$$PWD/qscriptengineagent.cpp \
$$PWD/qscriptextensionplugin.cpp \
+ $$PWD/qscriptprogram.cpp \
$$PWD/qscriptstring.cpp \
$$PWD/qscriptvalue.cpp \
$$PWD/qscriptvalueiterator.cpp \
@@ -23,6 +24,8 @@ HEADERS += \
$$PWD/qscriptengineagent_p.h \
$$PWD/qscriptextensioninterface.h \
$$PWD/qscriptextensionplugin.h \
+ $$PWD/qscriptprogram.h \
+ $$PWD/qscriptprogram_p.h \
$$PWD/qscriptstring.h \
$$PWD/qscriptstring_p.h \
$$PWD/qscriptvalue.h \