QAxScriptEngine Class Reference |
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. |
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.
Destroys the QAxScriptEngine object, releasing all allocated resources.
Registers an item with the script engine. Script code can refer to this item using name.
Returns true if the script engine supports introspection; otherwise returns false.
Returns true if the script engine has been initialized correctly; otherwise returns false.
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.
Returns the scripting language, for example "VBScript", or "JScript".
Sets the state of the script engine to st. Calling this function is usually not necessary.
See also state().
Returns the state of the script engine.
See also setState().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.1 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com