Qt 4.6: QtScript Module

|  | Home · All Classes · Overviews |

[Previous: QtOpenVG Module] [All Qt Modules] [Next: QtScriptTools Module]

# QtScript Module

The QtScript module provides classes for making Qt applications scriptable. More...

## Classes

QScriptClass | Interface for defining custom behavior of (a class of) Qt Script objects
QScriptClassPropertyIterator | Iterator interface for custom Qt Script objects
QScriptContext | Represents a Qt Script function invocation
QScriptContextInfo | Additional information about a QScriptContext
QScriptEngine | Environment for evaluating Qt Script code
QScriptEngineAgent | Interface to report events pertaining to QScriptEngine execution
QScriptExtensionPlugin | Abstract base for custom QScript extension plugins
QScriptString | Acts as a handle to "interned" strings in a QScriptEngine
QScriptSyntaxCheckResult | The result of a script syntax check
QScriptValue | Acts as a container for the Qt Script data types
QScriptValueIterator | Java-style iterator for QScriptValue
QScriptable | Access to the Qt Script environment from Qt C++ member functions

## Detailed Description

The QtScript module only provides core scripting facilities; the QtScriptTools module provides additional Qt Script-related components that application developers may find useful.

To include the definitions of the module's classes, use the following directive:

     #include <QtScript>

To link against the module, add this line to your qmake `.pro` file:

     QT += script

The QtScript module is part of the Qt Full Framework Edition and the Open Source Versions of Qt.

[Previous: QtOpenVG Module] [All Qt Modules] [Next: QtScriptTools Module]