summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqaxobject.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqaxobject.3qt')
-rw-r--r--doc/man/man3/tqaxobject.3qt36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/man/man3/tqaxobject.3qt b/doc/man/man3/tqaxobject.3qt
index 3020750d..f035fcde 100644
--- a/doc/man/man3/tqaxobject.3qt
+++ b/doc/man/man3/tqaxobject.3qt
@@ -7,26 +7,26 @@
.ad l
.nh
.SH NAME
-QAxObject \- QObject that wraps a COM object
+QAxObject \- TQObject that wraps a COM object
.SH SYNOPSIS
This class is part of the \fBQt ActiveQt Extension\fR.
.PP
\fC#include <qaxobject.h>\fR
.PP
-Inherits QObject and QAxBase.
+Inherits TQObject and QAxBase.
.PP
Inherited by QAxScriptEngine.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQAxObject\fR ( QObject * parent = 0, const char * name = 0 )"
+.BI "\fBQAxObject\fR ( TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQAxObject\fR ( const QString & c, QObject * parent = 0, const char * name = 0 )"
+.BI "\fBQAxObject\fR ( const TQString & c, TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQAxObject\fR ( IUnknown * iface, QObject * parent = 0, const char * name = 0 )"
+.BI "\fBQAxObject\fR ( IUnknown * iface, TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
.BI "\fB~QAxObject\fR ()"
@@ -47,33 +47,33 @@ Inherited by QAxScriptEngine.
.SH DESCRIPTION
This class is defined in the \fBQt ActiveQt Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main TQt API.
.PP
-The QAxObject class provides a QObject that wraps a COM object.
+The QAxObject class provides a TQObject that wraps a COM object.
.PP
A QAxObject can be instantiated as an empty object, with the name of the COM object it should wrap, or with a pointer to the IUnknown that represents an existing COM object. If the COM object implements the IDispatch interface, the properties, methods and events of that object become available as TQt properties, slots and signals. The base class, QAxBase, provides an API to access the COM object directly through the IUnknown pointer.
.PP
-QAxObject is a QObject and can be used as such, e.g. it can be organized in an object hierarchy, receive events and connect to signals and slots.
+QAxObject is a TQObject and can be used as such, e.g. it can be organized in an object hierarchy, receive events and connect to signals and slots.
.PP
-\fBWarning:\fR You can subclass QAxObject, but you cannot use the TQ_OBJECT macro in the subclass (the generated moc-file will not compile), so you cannot add further signals, slots or properties. This limitation is due to the metaobject information generated in runtime. To work around this problem, aggregate the QAxObject as a member of the QObject subclass.
+\fBWarning:\fR You can subclass QAxObject, but you cannot use the TQ_OBJECT macro in the subclass (the generated moc-file will not compile), so you cannot add further signals, slots or properties. This limitation is due to the metaobject information generated in runtime. To work around this problem, aggregate the QAxObject as a member of the TQObject subclass.
.PP
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QAxObject::QAxObject ( QObject * parent = 0, const char * name = 0 )"
-Creates an empty COM object and propagates \fIparent\fR and \fIname\fR to the QObject constructor. To initialize the object, call setControl.
-.SH "QAxObject::QAxObject ( const QString & c, QObject * parent = 0, const char * name = 0 )"
-Creates a QAxObject that wraps the COM object \fIc\fR. \fIparent\fR and \fIname\fR are propagated to the QWidget contructor.
+.SH "QAxObject::QAxObject ( TQObject * parent = 0, const char * name = 0 )"
+Creates an empty COM object and propagates \fIparent\fR and \fIname\fR to the TQObject constructor. To initialize the object, call setControl.
+.SH "QAxObject::QAxObject ( const TQString & c, TQObject * parent = 0, const char * name = 0 )"
+Creates a QAxObject that wraps the COM object \fIc\fR. \fIparent\fR and \fIname\fR are propagated to the TQWidget contructor.
.PP
See also control.
-.SH "QAxObject::QAxObject ( IUnknown * iface, QObject * parent = 0, const char * name = 0 )"
-Creates a QAxObject that wraps the COM object referenced by \fIiface\fR. \fIparent\fR and \fIname\fR are propagated to the QObject contructor.
+.SH "QAxObject::QAxObject ( IUnknown * iface, TQObject * parent = 0, const char * name = 0 )"
+Creates a QAxObject that wraps the COM object referenced by \fIiface\fR. \fIparent\fR and \fIname\fR are propagated to the TQObject contructor.
.SH "QAxObject::~QAxObject ()"
Releases the COM object and destroys the QAxObject, cleaning up all allocated resources.
.SH "QVariant QAxBase::dynamicCall ( const QCString & 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 the COM object's method \fIfunction\fR, passing the parameters \fIvar1\fR, \fIvar1\fR, \fIvar2\fR, \fIvar3\fR, \fIvar4\fR, \fIvar5\fR, \fIvar6\fR, \fIvar7\fR and \fIvar8\fR, and returns the value returned by the method, or an invalid QVariant if the method does not return a value or when the function call failed.
.PP
-If \fIfunction\fR is a method of the object the string must be provided as the full prototype, for example as it would be written in a QObject::connect() call.
+If \fIfunction\fR is a method of the object the string must be provided as the full prototype, for example as it would be written in a TQObject::connect() call.
.PP
.nf
.br
- activeX->dynamicCall( "Navigate(const QString&)", "www.trolltech.com" );
+ activeX->dynamicCall( "Navigate(const TQString&)", "www.trolltech.com" );
.br
.fi
.PP
@@ -92,10 +92,10 @@ If \fIfunction\fR is a property the string has to be the name of the property. T
.br
activeX->dynamicCall( "Value", 5 );
.br
- QString text = activeX->dynamicCall( "Text" ).toString();
+ TQString text = activeX->dynamicCall( "Text" ).toString();
.br
.fi
-Note that it is faster to get and set properties using QObject::property() and QObject::setProperty().
+Note that it is faster to get and set properties using TQObject::property() and TQObject::setProperty().
.PP
It is only possible to call functions through dynamicCall() that have parameters or return values of datatypes supported by QVariant. See the QAxBase class documentation for a list of supported and unsupported datatypes. If you want to call functions that have unsupported datatypes in the parameter list, use queryInterface() to retrieve the appropriate COM interface, and use the function directly.
.PP