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/tqguardedptr.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/tqguardedptr.3qt')
| -rw-r--r-- | doc/man/man3/tqguardedptr.3qt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqguardedptr.3qt b/doc/man/man3/tqguardedptr.3qt index cd28f9732..c76376125 100644 --- a/doc/man/man3/tqguardedptr.3qt +++ b/doc/man/man3/tqguardedptr.3qt @@ -102,11 +102,11 @@ Copy one guarded pointer from another. The constructed guarded pointer points to .SH "QGuardedPtr::~QGuardedPtr ()" Destroys the guarded pointer. Just like a normal pointer, destroying a guarded pointer does \fInot\fR destroy the object being pointed to. .SH "bool QGuardedPtr::isNull () const" -Returns \fCTRUE\fR if the referenced object has been destroyed or if there is no referenced object; otherwise returns FALSE. +Returns \fCTRUE\fR if the referenced object has been destroyed or if there is no referenced object; otherwise returns false. .SH "QGuardedPtr::operator T * () const" Cast operator; implements pointer semantics. Because of this function you can pass a QGuardedPtr<X> to a function where an X* is required. .SH "bool QGuardedPtr::operator!= ( const QGuardedPtr<T> & p ) const" -Inequality operator; implements pointer semantics, the negation of operator==(). Returns TRUE if \fIp\fR and this guarded pointer are not pointing to the same object; otherwise returns FALSE. +Inequality operator; implements pointer semantics, the negation of operator==(). Returns true if \fIp\fR and this guarded pointer are not pointing to the same object; otherwise returns false. .SH "T & QGuardedPtr::operator* () const" Dereference operator; implements pointer semantics. Just use this operator as you would with a normal C++ pointer. .SH "T * QGuardedPtr::operator-> () const" @@ -118,7 +118,7 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Assignment operator. This guarded pointer then points to the same object as \fIp\fR points to. .SH "bool QGuardedPtr::operator== ( const QGuardedPtr<T> & p ) const" -Equality operator; implements traditional pointer semantics. Returns TRUE if both \fIp\fR and this guarded pointer are 0, or if both \fIp\fR and this pointer point to the same object; otherwise returns FALSE. +Equality operator; implements traditional pointer semantics. Returns true if both \fIp\fR and this guarded pointer are 0, or if both \fIp\fR and this pointer point to the same object; otherwise returns false. .PP See also operator!=(). |
