diff options
Diffstat (limited to 'doc/man/man3/tqaxscript.3qt')
-rw-r--r-- | doc/man/man3/tqaxscript.3qt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqaxscript.3qt b/doc/man/man3/tqaxscript.3qt index 310b3da45..42bcfe4fd 100644 --- a/doc/man/man3/tqaxscript.3qt +++ b/doc/man/man3/tqaxscript.3qt @@ -13,7 +13,7 @@ This class is part of the \fBQt ActiveQt Extension\fR. .PP \fC#include <qaxscript.h>\fR .PP -Inherits QObject. +Inherits TQObject. .PP .SS "Public Members" .in +1c @@ -21,31 +21,31 @@ Inherits QObject. .BI "enum \fBFunctionFlags\fR { FunctionNames = 0, FunctionSignatures }" .br .ti -1c -.BI "\fBQAxScript\fR ( const QString & name, QAxScriptManager * manager )" +.BI "\fBQAxScript\fR ( const TQString & name, QAxScriptManager * manager )" .br .ti -1c .BI "\fB~QAxScript\fR ()" .br .ti -1c -.BI "bool \fBload\fR ( const QString & code, const QString & language = QString::null )" +.BI "bool \fBload\fR ( const TQString & code, const TQString & language = TQString::null )" .br .ti -1c .BI "QStringList \fBfunctions\fR ( FunctionFlags flags = FunctionNames ) const" .br .ti -1c -.BI "QString \fBscriptCode\fR () const" +.BI "TQString \fBscriptCode\fR () const" .br .ti -1c -.BI "QString \fBscriptName\fR () const" +.BI "TQString \fBscriptName\fR () const" .br .ti -1c .BI "QAxScriptEngine * \fBscriptEngine\fR () const" .br .ti -1c -.BI "QVariant \fBcall\fR ( const QString & function, const QVariant & var1 = QVariant ( ), const QVariant & var2 = QVariant ( ), const QVariant & var3 = QVariant ( ), const QVariant & var4 = QVariant ( ), const QVariant & var5 = QVariant ( ), const QVariant & var6 = QVariant ( ), const QVariant & var7 = QVariant ( ), const QVariant & var8 = QVariant ( ) )" +.BI "QVariant \fBcall\fR ( const TQString & function, const QVariant & var1 = QVariant ( ), const QVariant & var2 = QVariant ( ), const QVariant & var3 = QVariant ( ), const QVariant & var4 = QVariant ( ), const QVariant & var5 = QVariant ( ), const QVariant & var6 = QVariant ( ), const QVariant & var7 = QVariant ( ), const QVariant & var8 = QVariant ( ) )" .br .ti -1c -.BI "QVariant \fBcall\fR ( const QString & function, QValueList<QVariant> & arguments )" +.BI "QVariant \fBcall\fR ( const TQString & function, QValueList<QVariant> & arguments )" .br .in -1c .SS "Signals" @@ -60,13 +60,13 @@ Inherits QObject. .BI "void \fBfinished\fR ( const QVariant & result )" .br .ti -1c -.BI "void \fBfinished\fR ( int code, const QString & source, const QString & description, const QString & help )" +.BI "void \fBfinished\fR ( int code, const TQString & source, const TQString & description, const TQString & help )" .br .ti -1c .BI "void \fBstateChanged\fR ( int state )" .br .ti -1c -.BI "void \fBerror\fR ( int code, const QString & description, int sourcePosition, const QString & sourceText )" +.BI "void \fBerror\fR ( int code, const TQString & description, int sourcePosition, const TQString & sourceText )" .br .in -1c .SH DESCRIPTION @@ -87,17 +87,17 @@ This FunctionFlags enum describes formatting for function introspection. .TP \fCQAxScript::FunctionSignatures\fR - Returns the functions with signatures. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QAxScript::QAxScript ( const QString & name, QAxScriptManager * manager )" +.SH "QAxScript::QAxScript ( const TQString & name, QAxScriptManager * manager )" Constructs a QAxScript object called \fIname\fR and registers it with the QAxScriptManager \fImanager\fR. This is usually done by the QAxScriptManager class when loading a script. .PP A script should always have a name. A manager is necessary to allow the script code to reference objects in the application. The \fImanager\fR takes ownership of the object. .SH "QAxScript::~QAxScript ()" Destroys the object, releasing all allocated resources. -.SH "QVariant QAxScript::call ( const QString & function, const QVariant & var1 = QVariant ( ), const QVariant & var2 = QVariant ( ), const QVariant & var3 = QVariant ( ), const QVariant & var4 = QVariant ( ), const QVariant & var5 = QVariant ( ), const QVariant & var6 = QVariant ( ), const QVariant & var7 = QVariant ( ), const QVariant & var8 = QVariant ( ) )" +.SH "QVariant QAxScript::call ( const TQString & function, const QVariant & var1 = QVariant ( ), const QVariant & var2 = QVariant ( ), const QVariant & var3 = QVariant ( ), const QVariant & var4 = QVariant ( ), const QVariant & var5 = QVariant ( ), const QVariant & var6 = QVariant ( ), const QVariant & var7 = QVariant ( ), const QVariant & var8 = QVariant ( ) )" Calls \fIfunction\fR, passing the parameters \fIvar1\fR, \fIvar1\fR, \fIvar2\fR, \fIvar3\fR, \fIvar4\fR, \fIvar5\fR, \fIvar6\fR, \fIvar7\fR and \fIvar8\fR as arguments and returns the value returned by the function, or an invalid QVariant if the function does not return a value or when the function call failed. .PP See QAxScriptManager::call() for more information about how to call script functions. -.SH "QVariant QAxScript::call ( const QString & function, QValueList<QVariant> & arguments )" +.SH "QVariant QAxScript::call ( const TQString & function, QValueList<QVariant> & arguments )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Calls \fIfunction\fR passing \fIarguments\fR as parameters, and returns the result. Returns when the script's execution has finished. @@ -105,7 +105,7 @@ Calls \fIfunction\fR passing \fIarguments\fR as parameters, and returns the resu See QAxScriptManager::call() for more information about how to call script functions. .SH "void QAxScript::entered ()\fC [signal]\fR" This signal is emitted when a script engine has started executing code. -.SH "void QAxScript::error ( int code, const QString & description, int sourcePosition, const QString & sourceText )\fC [signal]\fR" +.SH "void QAxScript::error ( int code, const TQString & description, int sourcePosition, const TQString & sourceText )\fC [signal]\fR" This signal is emitted when an execution error occured while running a script. .PP \fIcode\fR, \fIdescription\fR, \fIsourcePosition\fR and \fIsourceText\fR contain information about the execution error. @@ -115,7 +115,7 @@ This signal is emitted when a script engine has finished executing code. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIresult\fR contains the script's result. This will be an invalid QVariant if the script has no return value. -.SH "void QAxScript::finished ( int code, const QString & source, const QString & description, const QString & help )\fC [signal]\fR" +.SH "void QAxScript::finished ( int code, const TQString & source, const TQString & description, const TQString & help )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP \fIcode\fR, \fIsource\fR, \fIdescription\fR and \fIhelp\fR contain exception information when the script terminated. @@ -123,13 +123,13 @@ This is an overloaded member function, provided for convenience. It behaves esse Returns a list of all the functions in this script if the respective script engine supports introspection; otherwise returns an empty list. The functions are either provided with full prototypes or only as names, depending on the value of \fIflags\fR. .PP See also QAxScriptEngine::hasIntrospection(). -.SH "bool QAxScript::load ( const QString & code, const QString & language = QString::null )" +.SH "bool QAxScript::load ( const TQString & code, const TQString & language = TQString::null )" Loads the script source \fIcode\fR written in language \fIlanguage\fR into the script engine. Returns TRUE if \fIcode\fR was successfully entered into the script engine; otherwise returns FALSE. .PP If \fIlanguage\fR is empty (the default) it will be determined heuristically. If \fIcode\fR contains the string \fCEnd Sub\fR it will be interpreted as VBScript, otherwise as JScript. Additional scripting languages can be registered using QAxScript::registerEngine(). .PP This function can only be called once for each QAxScript object, which is done automatically when using QAxScriptManager::load(). -.SH "QString QAxScript::scriptCode () const" +.SH "TQString QAxScript::scriptCode () const" Returns the script's code, or the null-string if no code has been loaded yet. .PP See also load(). @@ -137,7 +137,7 @@ See also load(). Returns a pointer to the script engine. .PP You can use the object returned to connect signals to the script functions, or to access the script engine directly. -.SH "QString QAxScript::scriptName () const" +.SH "TQString QAxScript::scriptName () const" Returns the name of the script. .SH "void QAxScript::stateChanged ( int state )\fC [signal]\fR" This signal is emitted when a script engine changes state. |