summaryrefslogtreecommitdiffstats
path: root/doc/html/qaxscriptmanager.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qaxscriptmanager.html')
-rw-r--r--doc/html/qaxscriptmanager.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/qaxscriptmanager.html b/doc/html/qaxscriptmanager.html
index 028941751..0c4bcb0fa 100644
--- a/doc/html/qaxscriptmanager.html
+++ b/doc/html/qaxscriptmanager.html
@@ -36,7 +36,7 @@ and script code.
<a href="#details">More...</a>
<p>This class is part of the <b>TQt ActiveTQt Extension</b>.
<p><tt>#include &lt;<a href="qaxscript-h.html">qaxscript.h</a>&gt;</tt>
-<p>Inherits <a href="qobject.html">TQObject</a>.
+<p>Inherits <a href="ntqobject.html">TQObject</a>.
<p><a href="qaxscriptmanager-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -62,7 +62,7 @@ and script code.
<li class=fn>TQString <a href="#scriptFileFilter"><b>scriptFileFilter</b></a> ()</li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
-<p> This class is defined in the <b>TQt <a href="activeqt.html#ActiveTQt">ActiveTQt</a> Extension</b>, which can be found in the <tt>qt/extensions</tt> directory. It is not included in the main TQt API.
+<p> This class is defined in the <b>TQt <a href="activentqt.html#ActiveTQt">ActiveTQt</a> Extension</b>, which can be found in the <tt>qt/extensions</tt> directory. It is not included in the main TQt API.
<p>
The TQAxScriptManager class provides a bridge between application objects
@@ -81,10 +81,10 @@ functions using <a href="#call">call</a>().
compilers.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQAxScriptManager"></a>TQAxScriptManager::TQAxScriptManager ( <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+<h3 class=fn><a name="TQAxScriptManager"></a>TQAxScriptManager::TQAxScriptManager ( <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )
</h3>
Creates a TQAxScriptManager object. <em>parent</em> and <em>name</em> are passed
-on to the <a href="qobject.html">TQObject</a> constructor.
+on to the <a href="ntqobject.html">TQObject</a> constructor.
<p> It is usual to create one TQAxScriptManager for each document in an
application.
@@ -95,22 +95,22 @@ Destroys the objects, releasing all allocated resources.
<h3 class=fn>void <a name="addObject"></a>TQAxScriptManager::addObject ( <a href="qaxbase.html">TQAxBase</a>&nbsp;*&nbsp;object )
</h3>
Adds <em>object</em> to the manager. Scripts handled by this
-manager can access the object in the code using the object's <a href="qobject.html#name-prop">name</a> property.
+manager can access the object in the code using the object's <a href="ntqobject.html#name-prop">name</a> property.
<p> You must add all the necessary objects before loading any scripts.
-<h3 class=fn>void <a name="addObject-2"></a>TQAxScriptManager::addObject ( <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;object )
+<h3 class=fn>void <a name="addObject-2"></a>TQAxScriptManager::addObject ( <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;object )
</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Adds a generic COM wrapper for <em>object</em> to the manager. <em>object</em>
must be exposed as a COM object using the functionality provided
by the <a href="qaxserver.html">TQAxServer module.</a>. Applications
using this function you must link against the qaxserver library.
-<h3 class=fn><a href="qvariant.html">TQVariant</a> <a name="call"></a>TQAxScriptManager::call ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;function, const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var1 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var2 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var3 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var4 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var5 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var6 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var7 = TQVariant ( ), const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var8 = TQVariant ( ) )
+<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="call"></a>TQAxScriptManager::call ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;function, const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var1 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var2 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var3 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var4 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var5 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var6 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var7 = TQVariant ( ), const&nbsp;<a href="ntqvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;var8 = TQVariant ( ) )
</h3>
Calls <em>function</em>, passing the parameters <em>var1</em>, <em>var1</em>,
<em>var2</em>, <em>var3</em>, <em>var4</em>, <em>var5</em>, <em>var6</em>, <em>var7</em> and <em>var8</em>
as arguments and returns the value returned by the function, or an
-invalid <a href="qvariant.html">TQVariant</a> if the function does not return a value or when
+invalid <a href="ntqvariant.html">TQVariant</a> if the function does not return a value or when
the function call failed. The call returns when the script's
execution has finished.
<p> In most script engines the only supported parameter type is "const
@@ -124,9 +124,9 @@ TQVariant&", for example, to call a JavaScript function
use
<pre>
- <a href="qvaluelist.html">TQValueList</a> args;
+ <a href="ntqvaluelist.html">TQValueList</a> args;
args &lt;&lt; 5;
- script-&gt;call("setNumber(const <a href="qvariant.html">TQVariant</a>&amp;)", args);
+ script-&gt;call("setNumber(const <a href="ntqvariant.html">TQVariant</a>&amp;)", args);
</pre>
As with <a href="qaxbase.html#dynamicCall">dynamicCall</a> the
@@ -142,12 +142,12 @@ using <a href="qaxscript.html#call">TQAxScript::call</a>() on the respective <a
<p> Note that calling this function can be significantely slower than
using <a href="#call">call</a>() on the respective <a href="qaxscript.html">TQAxScript</a> directly.
-<h3 class=fn><a href="qvariant.html">TQVariant</a> <a name="call-2"></a>TQAxScriptManager::call ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;function, <a href="qvaluelist.html">TQValueList</a>&lt;TQVariant&gt;&nbsp;&amp;&nbsp;arguments )
+<h3 class=fn><a href="ntqvariant.html">TQVariant</a> <a name="call-2"></a>TQAxScriptManager::call ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;function, <a href="ntqvaluelist.html">TQValueList</a>&lt;TQVariant&gt;&nbsp;&amp;&nbsp;arguments )
</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Calls <em>function</em> passing <em>arguments</em> as parameters, and returns
the result. Returns when the script's execution has finished.
-<h3 class=fn>void <a name="error"></a>TQAxScriptManager::error ( <a href="qaxscript.html">TQAxScript</a>&nbsp;*&nbsp;script, int&nbsp;code, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;description, int&nbsp;sourcePosition, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;sourceText )<tt> [signal]</tt>
+<h3 class=fn>void <a name="error"></a>TQAxScriptManager::error ( <a href="qaxscript.html">TQAxScript</a>&nbsp;*&nbsp;script, int&nbsp;code, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;description, int&nbsp;sourcePosition, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;sourceText )<tt> [signal]</tt>
</h3>
<p> This signal is emitted when an execution error occured while
@@ -155,7 +155,7 @@ running <em>script</em>.
<p> <em>code</em>, <em>description</em>, <em>sourcePosition</em> and <em>sourceText</em>
contain information about the execution error.
-<h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="functions"></a>TQAxScriptManager::functions ( <a href="qaxscript.html#FunctionFlags-enum">TQAxScript::FunctionFlags</a>&nbsp;flags = TQAxScript::FunctionNames ) const
+<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="functions"></a>TQAxScriptManager::functions ( <a href="qaxscript.html#FunctionFlags-enum">TQAxScript::FunctionFlags</a>&nbsp;flags = TQAxScript::FunctionNames ) const
</h3>
Returns a list with all the functions that are available.
Functions provided by script engines that don't support
@@ -163,7 +163,7 @@ introspection are not included in the list.
The functions are either provided with full prototypes or
only as names, depending on the value of <em>flags</em>.
-<h3 class=fn><a href="qaxscript.html">TQAxScript</a>&nbsp;* <a name="load"></a>TQAxScriptManager::load ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;code, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;language )
+<h3 class=fn><a href="qaxscript.html">TQAxScript</a>&nbsp;* <a name="load"></a>TQAxScriptManager::load ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;code, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;language )
</h3>
Loads the script source <em>code</em> using the script engine for <em>language</em>. The script can later be referred to using its <em>name</em>
which should not be empty.
@@ -180,7 +180,7 @@ still be available by calling its <a href="#script">script</a>
directly.
<p> <p>See also <a href="#addObject">addObject</a>(), <a href="#scriptNames">scriptNames</a>(), and <a href="#functions">functions</a>().
-<h3 class=fn><a href="qaxscript.html">TQAxScript</a>&nbsp;* <a name="load-2"></a>TQAxScriptManager::load ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;file, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
+<h3 class=fn><a href="qaxscript.html">TQAxScript</a>&nbsp;* <a name="load-2"></a>TQAxScriptManager::load ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;file, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name )
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Loads the source code from the <em>file</em>. The script can later be
@@ -193,7 +193,7 @@ default ".js" files are interpreted as JScript files, and ".vbs"
and ".dsm" files are interpreted as VBScript. Additional script
engines can be registered using <a href="#registerEngine">registerEngine</a>().
-<h3 class=fn>bool <a name="registerEngine"></a>TQAxScriptManager::registerEngine ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;extension, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;code = TQString ( ) )<tt> [static]</tt>
+<h3 class=fn>bool <a name="registerEngine"></a>TQAxScriptManager::registerEngine ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;extension, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;code = TQString ( ) )<tt> [static]</tt>
</h3>
Registers the script engine called <em>name</em> and returns TRUE if the
engine was found; otherwise does nothing and returns FALSE.
@@ -201,19 +201,19 @@ engine was found; otherwise does nothing and returns FALSE.
<em>extension</em>, or when loading source code that contains the string
<em>code</em>.
-<h3 class=fn><a href="qaxscript.html">TQAxScript</a>&nbsp;* <a name="script"></a>TQAxScriptManager::script ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
+<h3 class=fn><a href="qaxscript.html">TQAxScript</a>&nbsp;* <a name="script"></a>TQAxScriptManager::script ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;name ) const
</h3>
Returns the script called <em>name</em>.
<p> You can use the returned pointer to call functions directly
through <a href="qaxscript.html#call">TQAxScript::call</a>(), to access the script engine directly, or
to delete and thus unload the script.
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="scriptFileFilter"></a>TQAxScriptManager::scriptFileFilter ()<tt> [static]</tt>
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="scriptFileFilter"></a>TQAxScriptManager::scriptFileFilter ()<tt> [static]</tt>
</h3>
Returns a file filter listing all the supported script languages.
-This filter string is convenient for use with <a href="qfiledialog.html">TQFileDialog</a>.
+This filter string is convenient for use with <a href="ntqfiledialog.html">TQFileDialog</a>.
-<h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="scriptNames"></a>TQAxScriptManager::scriptNames () const
+<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="scriptNames"></a>TQAxScriptManager::scriptNames () const
</h3>
Returns a list with the names of all the scripts.