From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/qaxscript.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/qaxscript.html') diff --git a/doc/html/qaxscript.html b/doc/html/qaxscript.html index e098c5a95..f3de7b71c 100644 --- a/doc/html/qaxscript.html +++ b/doc/html/qaxscript.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

This class is part of the TQt ActiveTQt Extension.

#include <qaxscript.h> -

Inherits TQObject. +

Inherits TQObject.

List of all member functions.

Public Members


Detailed Description

-

This class is defined in the TQt ActiveTQt Extension, which can be found in the qt/extensions directory. It is not included in the main TQt API. +

This class is defined in the TQt ActiveTQt Extension, which can be found in the qt/extensions directory. It is not included in the main TQt API.

The TQAxScript class provides a wrapper around script code. @@ -86,7 +86,7 @@ compilers.

  • TQAxScript::FunctionSignatures - Returns the functions with signatures.

    Member Function Documentation

    -

    TQAxScript::TQAxScript ( const TQString & name, TQAxScriptManager * manager ) +

    TQAxScript::TQAxScript ( const TQString & name, TQAxScriptManager * manager )

    Constructs a TQAxScript object called name and registers it with the TQAxScriptManager manager. This is usually done by the @@ -100,17 +100,17 @@ takes ownership of the object. Destroys the object, releasing all allocated resources. -

    TQVariant TQAxScript::call ( const TQString & function, const TQVariant & var1 = TQVariant ( ), const TQVariant & var2 = TQVariant ( ), const TQVariant & var3 = TQVariant ( ), const TQVariant & var4 = TQVariant ( ), const TQVariant & var5 = TQVariant ( ), const TQVariant & var6 = TQVariant ( ), const TQVariant & var7 = TQVariant ( ), const TQVariant & var8 = TQVariant ( ) ) +

    TQVariant TQAxScript::call ( const TQString & function, const TQVariant & var1 = TQVariant ( ), const TQVariant & var2 = TQVariant ( ), const TQVariant & var3 = TQVariant ( ), const TQVariant & var4 = TQVariant ( ), const TQVariant & var5 = TQVariant ( ), const TQVariant & var6 = TQVariant ( ), const TQVariant & var7 = TQVariant ( ), const TQVariant & var8 = TQVariant ( ) )

    Calls function, passing the parameters var1, var1, var2, var3, var4, var5, var6, var7 and var8 as arguments and returns the value returned by the function, or an -invalid TQVariant if the function does not return a value or when +invalid TQVariant if the function does not return a value or when the function call failed.

    See TQAxScriptManager::call() for more information about how to call script functions. -

    TQVariant TQAxScript::call ( const TQString & function, TQValueList<TQVariant> & arguments ) +

    TQVariant TQAxScript::call ( const TQString & function, TQValueList<TQVariant> & arguments )

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    Calls function passing arguments as parameters, and returns @@ -122,7 +122,7 @@ script functions.

    This signal is emitted when a script engine has started executing code. -

    void TQAxScript::error ( int code, const TQString & description, int sourcePosition, const TQString & sourceText ) [signal] +

    void TQAxScript::error ( int code, const TQString & description, int sourcePosition, const TQString & sourceText ) [signal]

    This signal is emitted when an execution error occured while @@ -134,17 +134,17 @@ contain information about the execution error.

    This signal is emitted when a script engine has finished executing code. -

    void TQAxScript::finished ( const TQVariant & result ) [signal] +

    void TQAxScript::finished ( const TQVariant & result ) [signal]

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    result contains the script's result. This will be an invalid -TQVariant if the script has no return value. +TQVariant if the script has no return value. -

    void TQAxScript::finished ( int code, const TQString & source, const TQString & description, const TQString & help ) [signal] +

    void TQAxScript::finished ( int code, const TQString & source, const TQString & description, const TQString & help ) [signal]

    This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

    code, source, description and help contain exception information when the script terminated. -

    TQStringList TQAxScript::functions ( FunctionFlags flags = FunctionNames ) const +

    TQStringList TQAxScript::functions ( FunctionFlags flags = FunctionNames ) const

    Returns a list of all the functions in this script if the respective script engine supports introspection; otherwise returns an empty list. @@ -152,7 +152,7 @@ The functions are either provided with full prototypes or only as names, depending on the value of flags.

    See also TQAxScriptEngine::hasIntrospection(). -

    bool TQAxScript::load ( const TQString & code, const TQString & language = TQString::null ) +

    bool TQAxScript::load ( const TQString & code, const TQString & language = TQString::null )

    Loads the script source code written in language language into the script engine. Returns TRUE if code was successfully @@ -165,7 +165,7 @@ TQAxScript::registerEngine().

    This function can only be called once for each TQAxScript object, which is done automatically when using TQAxScriptManager::load(). -

    TQString TQAxScript::scriptCode () const +

    TQString TQAxScript::scriptCode () const

    Returns the script's code, or the null-string if no code has been loaded yet. @@ -177,7 +177,7 @@ Returns a pointer to the script engine.

    You can use the object returned to connect signals to the script functions, or to access the script engine directly. -

    TQString TQAxScript::scriptName () const +

    TQString TQAxScript::scriptName () const

    Returns the name of the script. -- cgit v1.2.3