NAME

Qt::Script::QScriptEngine

PUBLIC METHODS

QScriptEngine()
QScriptEngine(QObject * parent)
~QScriptEngine()
void abortEvaluation(const QScriptValue & result = QScriptValue())
void abortEvaluation(const QScriptValue & result)
QScriptEngineAgent * agent()
QStringList availableExtensions()
bool canEvaluate(const QString & program)
static QScriptSyntaxCheckResult checkSyntax(const QString & program)
void clearExceptions()
void collectGarbage()
QScriptContext * currentContext()
QScriptValue defaultPrototype(int metaTypeId)
QScriptValue evaluate(const QScriptProgram & program)
QScriptValue evaluate(const QString & program, const QString & fileName, int lineNumber = 1)
QScriptValue evaluate(const QString & program, const QString & fileName, int lineNumber)
QScriptValue evaluate(const QString & program, const QString & fileName = QString(), int lineNumber = 1)
QScriptValue evaluate(const QString & program, const QString & fileName, int lineNumber = 1)
QScriptValue globalObject()
bool hasUncaughtException()
QScriptValue importExtension(const QString & extension)
QStringList importedExtensions()
void installTranslatorFunctions(const QScriptValue & object = QScriptValue())
void installTranslatorFunctions(const QScriptValue & object)
bool isEvaluating()
QScriptValue newActivationObject()
QScriptValue newArray(uint length = 0)
QScriptValue newArray(uint length)
QScriptValue newDate(double value)
QScriptValue newDate(const QDateTime & value)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, int length = 0)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, int length)
QScriptValue newFunction(QScriptEngine::FunctionWithArgSignature signature, void * arg)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, const QScriptValue & prototype, int length = 0)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, const QScriptValue & prototype, int length)
QScriptValue newObject()
QScriptValue newObject(QScriptClass * scriptClass, const QScriptValue & data = QScriptValue())
QScriptValue newObject(QScriptClass * scriptClass, const QScriptValue & data)
QScriptValue newQMetaObject(const QMetaObject * metaObject, const QScriptValue & ctor = QScriptValue())
QScriptValue newQMetaObject(const QMetaObject * metaObject, const QScriptValue & ctor)
QScriptValue newRegExp(const QRegExp & regexp)
QScriptValue newRegExp(const QString & pattern, const QString & flags)
QScriptValue newVariant(const QVariant & value)
QScriptValue newVariant(const QScriptValue & object, const QVariant & value)
QScriptValue nullValue()
QScriptValue objectById(qint64 id)
void popContext()
int processEventsInterval()
QScriptContext * pushContext()
void setAgent(QScriptEngineAgent * agent)
void setDefaultPrototype(int metaTypeId, const QScriptValue & prototype)
void setGlobalObject(const QScriptValue & object)
void setProcessEventsInterval(int interval)
QScriptValue toObject(const QScriptValue & value)
QScriptString toStringHandle(const QString & str)
QScriptValue uncaughtException()
QStringList uncaughtExceptionBacktrace()
int uncaughtExceptionLineNumber()
QScriptValue undefinedValue()

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html