Definition at line 104 of file qscriptengine.h.
|
| | QScriptEngine () |
| |
| | QScriptEngine (QObject *parent) |
| |
| virtual | ~QScriptEngine () |
| |
| QScriptValue | globalObject () const |
| |
| void | setGlobalObject (const QScriptValue &object) |
| |
| QScriptContext * | currentContext () const |
| |
| QScriptContext * | pushContext () |
| |
| void | popContext () |
| |
| bool | canEvaluate (const QString &program) const |
| |
| QScriptValue | evaluate (const QString &program, const QString &fileName=QString(), int lineNumber=1) |
| |
| QScriptValue | evaluate (const QScriptProgram &program) |
| |
| bool | isEvaluating () const |
| |
| void | abortEvaluation (const QScriptValue &result=QScriptValue()) |
| |
| bool | hasUncaughtException () const |
| |
| QScriptValue | uncaughtException () const |
| |
| int | uncaughtExceptionLineNumber () const |
| |
| QStringList | uncaughtExceptionBacktrace () const |
| |
| void | clearExceptions () |
| |
| QScriptValue | nullValue () |
| |
| QScriptValue | undefinedValue () |
| |
| QScriptValue | newFunction (FunctionSignature signature, int length=0) |
| |
| QScriptValue | newFunction (FunctionSignature signature, const QScriptValue &prototype, int length=0) |
| |
| QScriptValue | newFunction (FunctionWithArgSignature signature, void *arg) |
| |
| QScriptValue | newVariant (const QVariant &value) |
| |
| QScriptValue | newVariant (const QScriptValue &object, const QVariant &value) |
| |
| QScriptValue | newRegExp (const QRegExp ®exp) |
| |
| QScriptValue | newObject () |
| |
| QScriptValue | newObject (QScriptClass *scriptClass, const QScriptValue &data=QScriptValue()) |
| |
| QScriptValue | newArray (uint length=0) |
| |
| QScriptValue | newRegExp (const QString &pattern, const QString &flags) |
| |
| QScriptValue | newDate (qsreal value) |
| |
| QScriptValue | newDate (const QDateTime &value) |
| |
| QScriptValue | newActivationObject () |
| |
| QScriptValue | newQObject (QObject *object, ValueOwnership ownership=QtOwnership, const QObjectWrapOptions &options=0) |
| |
| QScriptValue | newQObject (const QScriptValue &scriptObject, QObject *qtObject, ValueOwnership ownership=QtOwnership, const QObjectWrapOptions &options=0) |
| |
| QScriptValue | newQMetaObject (const QMetaObject *metaObject, const QScriptValue &ctor=QScriptValue()) |
| |
| template<class T > |
| QScriptValue | scriptValueFromQMetaObject () |
| |
| QScriptValue | defaultPrototype (int metaTypeId) const |
| |
| void | setDefaultPrototype (int metaTypeId, const QScriptValue &prototype) |
| |
| template<typename T > |
| QScriptValue | toScriptValue (const T &value) |
| |
| template<typename T > |
| T | fromScriptValue (const QScriptValue &value) |
| |
| void | installTranslatorFunctions (const QScriptValue &object=QScriptValue()) |
| |
| QScriptValue | importExtension (const QString &extension) |
| |
| QStringList | availableExtensions () const |
| |
| QStringList | importedExtensions () const |
| |
| void | collectGarbage () |
| |
| void | reportAdditionalMemoryCost (int size) |
| |
| void | setProcessEventsInterval (int interval) |
| |
| int | processEventsInterval () const |
| |
| void | setAgent (QScriptEngineAgent *agent) |
| |
| QScriptEngineAgent * | agent () const |
| |
| QScriptString | toStringHandle (const QString &str) |
| |
| QScriptValue | toObject (const QScriptValue &value) |
| |
| QScriptValue | objectById (qint64 id) const |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | event (QEvent *) |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |