diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqaxbase.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqaxbase.3qt')
| -rw-r--r-- | doc/man/man3/tqaxbase.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqaxbase.3qt b/doc/man/man3/tqaxbase.3qt index 7d8a68b73..c063c2aca 100644 --- a/doc/man/man3/tqaxbase.3qt +++ b/doc/man/man3/tqaxbase.3qt @@ -341,7 +341,7 @@ This signal is emitted when the COM object throws an exception while called usin .SH "TQString QAxBase::generateDocumentation ()" Returns a rich text string with documentation for the wrapped COM object. Dump the string to an HTML-file, or use it in e.g. a QTextBrowser widget. .SH "bool QAxBase::initialize ( IUnknown ** ptr )\fC [virtual protected]\fR" -This virtual function is called by setControl() and creates the requested COM object. \fIptr\fR is set to the object's IUnknown implementation. The function returns TRUE if the object initialization succeeded; otherwise the function returns FALSE. +This virtual function is called by setControl() and creates the requested COM object. \fIptr\fR is set to the object's IUnknown implementation. The function returns true if the object initialization succeeded; otherwise the function returns false. .PP The default implementation interprets the string returned by control(), and calls initializeRemote(), initializeLicensed() or initializeActive() if the string matches the respective patterns. If no pattern is matched, or if remote or licensed initialization fails, CoCreateInstance is used directly to create the object. .PP @@ -349,25 +349,25 @@ See the control property documentation for details about supported patterns. .PP The interface returned in \fIptr\fR must be referenced exactly once when this function returns. The interface provided by e.g. CoCreateInstance is already referenced, and there is no need to reference it again. .SH "bool QAxBase::initializeActive ( IUnknown ** ptr )\fC [protected]\fR" -Returns an active instance running on the current machine, and returns the IUnknown interface to the running object in \fIptr\fR. This function returns TRUE if successful, otherwise returns FALSE. +Returns an active instance running on the current machine, and returns the IUnknown interface to the running object in \fIptr\fR. This function returns true if successful, otherwise returns false. .PP This function is called by initialize() if the control string contains the substring "}&". .PP See also initialize(). .SH "bool QAxBase::initializeLicensed ( IUnknown ** ptr )\fC [protected]\fR" -Creates an instance of a licensed control, and returns the IUnknown interface to the object in \fIptr\fR. This functions returns TRUE if successful, otherwise returns FALSE. +Creates an instance of a licensed control, and returns the IUnknown interface to the object in \fIptr\fR. This functions returns true if successful, otherwise returns false. .PP This function is called by initialize() if the control string contains the substring "}:". The license key needs to follow this substring. .PP See also initialize(). .SH "bool QAxBase::initializeRemote ( IUnknown ** ptr )\fC [protected]\fR" -Creates the instance on a remote server, and returns the IUnknown interface to the object in \fIptr\fR. This function returns TRUE if successful, otherwise returns FALSE. +Creates the instance on a remote server, and returns the IUnknown interface to the object in \fIptr\fR. This function returns true if successful, otherwise returns false. .PP This function is called by initialize() if the control string contains the substring "/{". The information about the remote machine needs to be provided in front of the substring. .PP See also initialize(). .SH "bool QAxBase::isNull () const" -Returns TRUE if there is no COM object loaded by this wrapper; otherwise return FALSE. +Returns true if there is no COM object loaded by this wrapper; otherwise return false. .PP See also control. .SH "PropertyBag QAxBase::propertyBag () const" @@ -379,7 +379,7 @@ This is more efficient than getting multiple properties individually if the COM .SH "void QAxBase::propertyChanged ( const TQString & name )\fC [signal]\fR" If the COM object supports property notification, this signal gets emitted when the property called \fIname\fR is changed. .SH "bool QAxBase::propertyWritable ( const char * prop ) const\fC [virtual]\fR" -Returns TRUE if the property \fIprop\fR is writable; otherwise returns FALSE. By default, all properties are writable. +Returns true if the property \fIprop\fR is writable; otherwise returns false. By default, all properties are writable. .PP \fBWarning:\fR Depending on the control implementation this setting might be ignored for some properties. .PP @@ -431,7 +431,7 @@ Sets the properties of the COM object to the corresponding values in \fIbag\fR. .PP See also propertyBag(). .SH "void QAxBase::setPropertyWritable ( const char * prop, bool ok )\fC [virtual]\fR" -Sets the property \fIprop\fR to writable if \fIok\fR is TRUE, otherwise sets \fIprop\fR to be read-only. By default, all properties are writable. +Sets the property \fIprop\fR to writable if \fIok\fR is true, otherwise sets \fIprop\fR to be read-only. By default, all properties are writable. .PP \fBWarning:\fR Depending on the control implementation this setting might be ignored for some properties. .PP |
