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.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.