Home · All Classes · All Functions · Overviews

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

QtScript Module

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

Classes

QScriptClassInterface for defining custom behavior of (a class of) Qt Script objects
QScriptClassPropertyIteratorIterator interface for custom Qt Script objects
QScriptContextRepresents a Qt Script function invocation
QScriptContextInfoAdditional information about a QScriptContext
QScriptEngineEnvironment for evaluating Qt Script code
QScriptEngineAgentInterface to report events pertaining to QScriptEngine execution
QScriptExtensionPluginAbstract base for custom QScript extension plugins
QScriptStringActs as a handle to "interned" strings in a QScriptEngine
QScriptSyntaxCheckResultThe result of a script syntax check
QScriptValueActs as a container for the Qt Script data types
QScriptValueIteratorJava-style iterator for QScriptValue
QScriptableAccess 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]


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0