QAxScriptEngine(3qt)
π QAxScriptEngine β bestie, it's the wrapper around a script engine π
okay so welcome to the qaxscriptengine page, it's a Qt one, it's giving 3qt, it's giving ActiveQt, and it's gonna be fine, I promise π«Ά
β¨ NAME β¨
QAxScriptEngine β a wrapper around a script engine. that's it, that's the whole vibe. she's a wrapper. she wraps. π
πΈ SYNOPSIS πΈ
#include <qaxscript.h>
Inherits QAxObject.
heads up bestie: this class is part of the Qt ActiveQt Extension.
π Public Members π
enum State { Uninitialized = 0, Initialized = 5, Started = 1, Connected = 2, Disconnected = 3, Closed = 4 }
QAxScriptEngine ( const QString & language, QAxScript * script )
~QAxScriptEngine ()
bool isValid () const
bool hasIntrospection () const
QString scriptLanguage () const
State state () const
void setState ( State st )
void addItem ( const QString & name )
long queryInterface ( const QUuid & uuid, void ** iface ) const
π¦ DESCRIPTION π¦
so this class lives in the Qt ActiveQt Extension, which you'll find chilling in the qt/extensions directory. she is NOT in the main Qt API, ok? just so we're clear. no cap.
The QAxScriptEngine class provides a wrapper around a script engine.
Every single instance of the QAxScriptEngine class is an interpreter for script code in a particular scripting language. The class is usually not used directly β like, she's the backstage crew, not the main character. The QAxScript and QAxScriptManager classes are the ones serving 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 thebcc5.5andMingWcompilers. like, at all. sorry babes. π
π Member Type Documentation π
QAxScriptEngine::State
The State enumeration defines the different states a script engine can be in. it's giving ~character development~ π
QAxScriptEngine::Uninitializedβ The script has been created, but not yet initializedQAxScriptEngine::Initializedβ The script has been initialized, but is not runningQAxScriptEngine::Startedβ The script can execute code, but does not yet handle eventsQAxScriptEngine::Connectedβ The script can execute code and is connected so that it can handle eventsQAxScriptEngine::Disconnectedβ The script is loaded, but is not connected to event sourcesQAxScriptEngine::Closedβ The script has been closed.
π MEMBER FUNCTION DOCUMENTATION π
QAxScriptEngine::QAxScriptEngine ( const QString & language, QAxScript * script )
Constructs a QAxScriptEngine object interpreting script code in language provided by the code in script. This is usually done by the QAxScript class when loading a script.
Instances of QAxScriptEngine should always have both a language and a script. both. always. no exceptions bestie π
QAxScriptEngine::~QAxScriptEngine ()
Destroys the QAxScriptEngine object, releasing all allocated resources. she's gone, she's cleaned up after herself, iconic behavior π§Ήβ¨
void QAxScriptEngine::addItem ( const QString & name )
Registers an item with the script engine. Script code can refer to this item using name.
bool QAxScriptEngine::hasIntrospection () const
Returns TRUE if the script engine supports introspection; otherwise returns FALSE.
bool QAxScriptEngine::isValid () const
Returns TRUE if the script engine has been initialized correctly; otherwise returns FALSE.
long QAxScriptEngine::queryInterface ( const QUuid & uuid, void ** iface ) const
Requests the interface uuid from the script engine object and sets the value of iface to the provided interface, or to 0 if the requested interface could not be provided.
Returns the result of the QueryInterface implementation of the COM object.
QString QAxScriptEngine::scriptLanguage () const
Returns the scripting language, for example "VBScript", or "JScript".
void QAxScriptEngine::setState ( State st )
Sets the state of the script engine to st. Calling this function is usually not necessary. (like, lowkey you probably don't need to touch this π)
State QAxScriptEngine::state () const
Returns the state of the script engine.
π SEE ALSO π
π COPYRIGHT π
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.
β AUTHOR β
Generated automatically from the source code. (she wrote herself, main character energy fr fr π)
π BUGS π
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. π«Ά
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qaxscriptengine.3qt) and the Qt version (3.3.8).
okay that's the whole page bestie, we ate and left no crumbs πβ¨ this was written by Trolltech AS, dated 2 February 2007, and it's from Qt version 3.3.8. mwah. π bye pookie, go write some scripts π¦π
π¦ where this page comes from
- fedora 43: qt3-devel-docs 3.3.8b-102.fc43 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- fedora 44: qt3-devel-docs 3.3.8b-103.fc44 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms