summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qserversocket.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/qserversocket.3qt')
-rw-r--r--doc/man/man3/qserversocket.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/qserversocket.3qt b/doc/man/man3/qserversocket.3qt
index 3d019e42..7fbb9757 100644
--- a/doc/man/man3/qserversocket.3qt
+++ b/doc/man/man3/qserversocket.3qt
@@ -16,10 +16,10 @@ Inherits QObject.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQServerSocket\fR ( Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
+.BI "\fBQServerSocket\fR ( TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBQServerSocket\fR ( const QHostAddress & address, Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
+.BI "\fBQServerSocket\fR ( const QHostAddress & address, TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
.BI "\fBQServerSocket\fR ( QObject * parent = 0, const char * name = 0 )"
@@ -31,7 +31,7 @@ Inherits QObject.
.BI "bool \fBok\fR () const"
.br
.ti -1c
-.BI "Q_UINT16 \fBport\fR () const"
+.BI "TQ_UINT16 \fBport\fR () const"
.br
.ti -1c
.BI "int \fBsocket\fR () const"
@@ -63,13 +63,13 @@ Using the API is very simple: subclass QServerSocket, call the constructor of yo
.PP
See also QSocket, QSocketDevice, QHostAddress, QSocketNotifier, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QServerSocket::QServerSocket ( Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
+.SH "QServerSocket::QServerSocket ( TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
Creates a server socket object, that will serve the given \fIport\fR on all the addresses of this host. If \fIport\fR is 0, QServerSocket will pick a suitable port in a system-dependent manner. Use \fIbacklog\fR to specify how many pending connections the server can have.
.PP
The \fIparent\fR and \fIname\fR arguments are passed on to the QObject constructor.
.PP
\fBWarning:\fR On Tru64 Unix systems a value of 0 for \fIbacklog\fR means that you don't accept any connections at all; you should specify a value larger than 0.
-.SH "QServerSocket::QServerSocket ( const QHostAddress & address, Q_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
+.SH "QServerSocket::QServerSocket ( const QHostAddress & address, TQ_UINT16 port, int backlog = 1, QObject * parent = 0, const char * name = 0 )"
Creates a server socket object, that will serve the given \fIport\fR only on the given \fIaddress\fR. Use \fIbacklog\fR to specify how many pending connections the server can have.
.PP
The \fIparent\fR and \fIname\fR arguments are passed on to the QObject constructor.
@@ -97,7 +97,7 @@ See also port() and QSocketDevice::address().
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.
-.SH "Q_UINT16 QServerSocket::port () const"
+.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.
.PP
See also address() and QSocketDevice::port().