This class is defined in the \fBQt ActiveQt Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main TQt API.
The QAxScriptEngine class provides a wrapper around a script engine.
.PP
Every instance of the QAxScriptEngine class represents an interpreter for script code in a particular scripting language. The class is usually not used directly. The QAxScript and QAxScriptManager classes provide convenient functions to handle and call script code.
.PP
Direct access to the script engine is provided through queryInterface().
.PP
\fBWarning:\fR This class is not available with the bcc5.5 and MingW compilers.
.SS "Member Type Documentation"
.SH "QAxScriptEngine::State"
The State enumeration defines the different states a script engine can be in.
.TP
\fCQAxScriptEngine::Uninitialized\fR - The script has been created, but not yet initialized
.TP
\fCQAxScriptEngine::Initialized\fR - The script has been initialized, but is not running
.TP
\fCQAxScriptEngine::Started\fR - The script can execute code, but does not yet handle events
.TP
\fCQAxScriptEngine::Connected\fR - The script can execute code and is connected so that it can handle events
.TP
\fCQAxScriptEngine::Disconnected\fR - The script is loaded, but is not connected to event sources
.TP
\fCQAxScriptEngine::Closed\fR - The script has been closed.
Constructs a QAxScriptEngine object interpreting script code in \fIlanguage\fR provided by the code in \fIscript\fR. This is usually done by the QAxScript class when loading a script.
.PP
Instances of QAxScriptEngine should always have both a language and a script.
.SH "QAxScriptEngine::~QAxScriptEngine ()"
Destroys the QAxScriptEngine object, releasing all allocated resources.
.SH "void QAxScriptEngine::addItem ( const QString & name )"
Registers an item with the script engine. Script code can refer to this item using \fIname\fR.
Requests the interface \fIuuid\fR from the script engine object and sets the value of \fIiface\fR to the provided interface, or to 0 if the requested interface could not be provided.
.PP
Returns the result of the QueryInterface implementation of the COM object.