Dongxu Ma > Qt-Script-0.01_04 > Qt::Script::QScriptEngine

Download:
Qt-Script-0.01_04.tar.gz

Dependencies

Annotate this POD

Module Version: 0.01_04   Source  

NAME ^

Qt::Script::QScriptEngine

PUBLIC METHODS ^

QScriptEngine()
QScriptEngine(QObject * parent)
~QScriptEngine()
void abortEvaluation(const QScriptValue & result)
void abortEvaluation(const QScriptValue & result = QScriptValue())
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)
QScriptValue evaluate(const QString & program, const QString & fileName, int lineNumber = 1)
QScriptValue evaluate(const QString & program, const QString & fileName = QString(), int lineNumber = 1)
QScriptValue globalObject()
bool hasUncaughtException()
QScriptValue importExtension(const QString & extension)
QStringList importedExtensions()
void installTranslatorFunctions(const QScriptValue & object)
void installTranslatorFunctions(const QScriptValue & object = QScriptValue())
bool isEvaluating()
QScriptValue newActivationObject()
QScriptValue newArray(uint length)
QScriptValue newArray(uint length = 0)
QScriptValue newDate(double value)
QScriptValue newDate(const QDateTime & value)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, int length)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, int length = 0)
QScriptValue newFunction(QScriptEngine::FunctionWithArgSignature signature, void * arg)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, const QScriptValue & prototype, int length)
QScriptValue newFunction(QScriptEngine::FunctionSignature signature, const QScriptValue & prototype, int length = 0)
QScriptValue newObject()
QScriptValue newObject(QScriptClass * scriptClass, const QScriptValue & data)
QScriptValue newObject(QScriptClass * scriptClass, const QScriptValue & data = QScriptValue())
QScriptValue newQMetaObject(const QMetaObject * metaObject, const QScriptValue & ctor)
QScriptValue newQMetaObject(const QMetaObject * metaObject, const QScriptValue & ctor = QScriptValue())
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 reportAdditionalMemoryCost(int size)
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()

ENUM VALUES ^

QtOwnership
ScriptOwnership
AutoOwnership
ExcludeChildObjects
ExcludeSuperClassMethods
ExcludeSuperClassProperties
ExcludeSuperClassContents
SkipMethodsInEnumeration
ExcludeDeleteLater
ExcludeSlots
AutoCreateDynamicProperties
PreferExistingWrapperObject

EXPORT

None by default.

AUTHOR ^

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2011 - 2012 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

syntax highlighting: