QAxScriptEngine Class
The QAxScriptEngine class provides a wrapper around a script engine. More...
Header: | #include <QAxScriptEngine> |
qmake: | QT += axcontainer |
Inherits: | QAxObject |
Public Types
enum | State { Uninitialized, Initialized, Started, Connected, Disconnected, Closed } |
Related Non-Members
typedef | QObjectList |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 property inherited from QAxBase
- 1 public function inherited from QAxObject
- 16 public functions inherited from QObject
- 21 public functions inherited from QAxBase
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 3 signals inherited from QAxBase
- 5 static public members inherited from QObject
- 1 protected function inherited from QAxObject
- 8 protected functions inherited from QObject
- 5 protected functions inherited from QAxBase
Detailed Description
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.
Direct access to the script engine is provided through queryInterface().
Warning: This class is not available with the bcc5.5 compiler.
See also QAxScript, QAxScriptManager, QAxBase, and ActiveQt Framework.
Member Type Documentation
enum QAxScriptEngine::State
The State enumeration defines the different states a script engine can be in.
Constant | Value | Description |
---|---|---|
QAxScriptEngine::Uninitialized | 0 | The script has been created, but not yet initialized |
QAxScriptEngine::Initialized | 5 | The script has been initialized, but is not running |
QAxScriptEngine::Started | 1 | The script can execute code, but does not yet handle events |
QAxScriptEngine::Connected | 2 | The script can execute code and is connected so that it can handle events |
QAxScriptEngine::Disconnected | 3 | The script is loaded, but is not connected to event sources |
QAxScriptEngine::Closed | 4 | The script has been closed. |