QAxScript Class

The QAxScript class provides a wrapper around script code. More...

Header: #include <QAxScript>
qmake: QT += axcontainer
Inherits: QObject

Public Types

enum FunctionFlags { FunctionNames, FunctionSignatures }

Detailed Description

Every instance of the QAxScript class represents a piece of scripting code in a particular scripting language. The code is loaded into the script engine using load(). Functions declared in the code can be called using call().

The script provides scriptEngine() provides feedback to the application through signals. The most important signal is the error() signal. Direct access to the QAxScriptEngine is provided through the scriptEngine() function.

Warning: This class is not available with the bcc5.5 compiler.

See also QAxScriptEngine, QAxScriptManager, QAxBase, and ActiveQt Framework.

Member Type Documentation

enum QAxScript::FunctionFlags

This FunctionFlags enum describes formatting for function introspection.

ConstantValueDescription
QAxScript::FunctionNames0Only function names are returned.
QAxScript::FunctionSignatures1Returns the functions with signatures.