summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqserversocket.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-31 13:43:03 +0900
commit6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch)
treeb029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqserversocket.3qt
parent81ade129093a279e6537db25710583fd2bba9427 (diff)
downloadtqt-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/tqserversocket.3qt')
-rw-r--r--doc/man/man3/tqserversocket.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqserversocket.3qt b/doc/man/man3/tqserversocket.3qt
index 8a111b563..d35b44c79 100644
--- a/doc/man/man3/tqserversocket.3qt
+++ b/doc/man/man3/tqserversocket.3qt
@@ -90,15 +90,15 @@ This causes any backlogged connections (connections that have reached the host,
.PP
Existing connections continue to exist; this only affects the acceptance of new connections.
.SH "QHostAddress QServerSocket::address () const"
-Returns the address on which this object listens, or 0.0.0.0 if this object listens on more than one address. ok() must be TRUE before calling this function.
+Returns the address on which this object listens, or 0.0.0.0 if this object listens on more than one address. ok() must be true before calling this function.
.PP
See also port() and QSocketDevice::address().
.SH "void QServerSocket::newConnection ( int socket )\fC [pure virtual]\fR"
This pure virtual function is responsible for setting up a new incoming connection. \fIsocket\fR is the fd (file descriptor) for the newly accepted connection.
.SH "bool QServerSocket::ok () const"
-Returns TRUE if the construction succeeded; otherwise returns FALSE.
+Returns true if the construction succeeded; otherwise returns false.
.SH "TQ_UINT16 QServerSocket::port () const"
-Returns the port number on which this server socket listens. This is always non-zero; if you specify 0 in the constructor, QServerSocket will pick a non-zero port itself. ok() must be TRUE before calling this function.
+Returns the port number on which this server socket listens. This is always non-zero; if you specify 0 in the constructor, QServerSocket will pick a non-zero port itself. ok() must be true before calling this function.
.PP
See also address() and QSocketDevice::port().
.PP