QAxScriptManager Class
The QAxScriptManager class provides a bridge between application objects and script code. More...
Header: | #include <QAxScriptManager> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS AxContainer) target_link_libraries(mytarget PRIVATE Qt6::AxContainer) |
qmake: | QT += axcontainer |
Public Functions
QAxScriptManager(int *parent) |
Detailed Description
The QAxScriptManager acts as a bridge between the COM objects embedded in the Qt application through QAxObject or QAxWidget, and the scripting languages available through the Windows Script technologies, usually JScript and VBScript.
Create one QAxScriptManager for each separate document in your application, and add the COM objects the scripts need to access using addObject(). Then load() the script sources and invoke the functions using call().
Warning: This class is not available with the bcc5.5 compiler.
See also QAxScript, QAxScriptEngine, QAxBase, and ActiveQt Framework.
Member Function Documentation
[default]
QAxScriptManager::QAxScriptManager(int *parent)
Creates a QAxScriptManager object. parent is passed on to the QObject constructor.
It is usual to create one QAxScriptManager for each document in an application.