summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqhostaddress.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqhostaddress.3qt')
-rw-r--r--doc/man/man3/tqhostaddress.3qt68
1 files changed, 34 insertions, 34 deletions
diff --git a/doc/man/man3/tqhostaddress.3qt b/doc/man/man3/tqhostaddress.3qt
index 3c3bf83c0..49f2f5ad3 100644
--- a/doc/man/man3/tqhostaddress.3qt
+++ b/doc/man/man3/tqhostaddress.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QHostAddress 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQHostAddress 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,32 +7,32 @@
.ad l
.nh
.SH NAME
-QHostAddress \- IP address
+TQHostAddress \- IP address
.SH SYNOPSIS
-\fC#include <ntqhostaddress.h>\fR
+\fC#include <tqhostaddress.h>\fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQHostAddress\fR ()"
+.BI "\fBTQHostAddress\fR ()"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( TQ_UINT32 ip4Addr )"
+.BI "\fBTQHostAddress\fR ( TQ_UINT32 ip4Addr )"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( TQ_UINT8 * ip6Addr )"
+.BI "\fBTQHostAddress\fR ( TQ_UINT8 * ip6Addr )"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( const Q_IPV6ADDR & ip6Addr )"
+.BI "\fBTQHostAddress\fR ( const Q_IPV6ADDR & ip6Addr )"
.br
.ti -1c
-.BI "\fBQHostAddress\fR ( const QHostAddress & address )"
+.BI "\fBTQHostAddress\fR ( const TQHostAddress & address )"
.br
.ti -1c
-.BI "virtual \fB~QHostAddress\fR ()"
+.BI "virtual \fB~TQHostAddress\fR ()"
.br
.ti -1c
-.BI "QHostAddress & \fBoperator=\fR ( const QHostAddress & address )"
+.BI "TQHostAddress & \fBoperator=\fR ( const TQHostAddress & address )"
.br
.ti -1c
.BI "void \fBsetAddress\fR ( TQ_UINT32 ip4Addr )"
@@ -65,68 +65,68 @@ QHostAddress \- IP address
.BI "TQString \fBtoString\fR () const"
.br
.ti -1c
-.BI "bool \fBoperator==\fR ( const QHostAddress & other ) const"
+.BI "bool \fBoperator==\fR ( const TQHostAddress & other ) const"
.br
.ti -1c
.BI "bool \fBisNull\fR () const"
.br
.in -1c
.SH DESCRIPTION
-The QHostAddress class provides an IP address.
+The TQHostAddress class provides an IP address.
.PP
This class contains an IP address in a platform and protocol independent manner. It stores both IPv4 and IPv6 addresses in a way that you can easily access on any platform.
.PP
-QHostAddress is normally used with the classes QSocket, QServerSocket and QSocketDevice to set up a server or to connect to a host.
+TQHostAddress is normally used with the classes TQSocket, TQServerSocket and TQSocketDevice to set up a server or to connect to a host.
.PP
Host addresses may be set with setAddress() and retrieved with ip4Addr() or toString().
.PP
-See also QSocket, QServerSocket, QSocketDevice, and Input/Output and Networking.
+See also TQSocket, TQServerSocket, TQSocketDevice, and Input/Output and Networking.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QHostAddress::QHostAddress ()"
+.SH "TQHostAddress::TQHostAddress ()"
Creates a host address object with the IP address 0.0.0.0.
-.SH "QHostAddress::QHostAddress ( TQ_UINT32 ip4Addr )"
+.SH "TQHostAddress::TQHostAddress ( TQ_UINT32 ip4Addr )"
Creates a host address object for the IPv4 address \fIip4Addr\fR.
-.SH "QHostAddress::QHostAddress ( TQ_UINT8 * ip6Addr )"
+.SH "TQHostAddress::TQHostAddress ( TQ_UINT8 * ip6Addr )"
Creates a host address object with the specified IPv6 address.
.PP
\fIip6Addr\fR must be a 16 byte array in network byte order (high-order byte first).
-.SH "QHostAddress::QHostAddress ( const Q_IPV6ADDR & ip6Addr )"
+.SH "TQHostAddress::TQHostAddress ( const Q_IPV6ADDR & ip6Addr )"
Creates a host address object with the IPv6 address, \fIip6Addr\fR.
-.SH "QHostAddress::QHostAddress ( const QHostAddress & address )"
+.SH "TQHostAddress::TQHostAddress ( const TQHostAddress & address )"
Creates a copy of \fIaddress\fR.
-.SH "QHostAddress::~QHostAddress ()\fC [virtual]\fR"
+.SH "TQHostAddress::~TQHostAddress ()\fC [virtual]\fR"
Destroys the host address object.
-.SH "TQ_UINT32 QHostAddress::ip4Addr () const"
+.SH "TQ_UINT32 TQHostAddress::ip4Addr () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use toIPv4Address() instead.
-.SH "bool QHostAddress::isIPv4Address () const"
+.SH "bool TQHostAddress::isIPv4Address () const"
Returns TRUE if the host address represents an IPv4 address; otherwise returns FALSE.
-.SH "bool QHostAddress::isIPv6Address () const"
+.SH "bool TQHostAddress::isIPv6Address () const"
Returns TRUE if the host address represents an IPv6 address; otherwise returns FALSE.
-.SH "bool QHostAddress::isIp4Addr () const"
+.SH "bool TQHostAddress::isIp4Addr () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Use isIPv4Address() instead.
-.SH "bool QHostAddress::isNull () const"
+.SH "bool TQHostAddress::isNull () const"
Returns TRUE if this host address is null (INADDR_ANY or in6addr_any). The default constructor creates a null address, and that address isn't valid for any particular host or interface.
-.SH "QHostAddress & QHostAddress::operator= ( const QHostAddress & address )"
+.SH "TQHostAddress & TQHostAddress::operator= ( const TQHostAddress & address )"
Assigns another host address object \fIaddress\fR to this object and returns a reference to this object.
-.SH "bool QHostAddress::operator== ( const QHostAddress & other ) const"
+.SH "bool TQHostAddress::operator== ( const TQHostAddress & other ) const"
Returns TRUE if this host address is the same as \fIother\fR; otherwise returns FALSE.
-.SH "void QHostAddress::setAddress ( TQ_UINT32 ip4Addr )"
+.SH "void TQHostAddress::setAddress ( TQ_UINT32 ip4Addr )"
Set the IPv4 address specified by \fIip4Addr\fR.
-.SH "void QHostAddress::setAddress ( TQ_UINT8 * ip6Addr )"
+.SH "void TQHostAddress::setAddress ( TQ_UINT8 * ip6Addr )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Set the IPv6 address specified by \fIip6Addr\fR.
.PP
\fIip6Addr\fR must be a 16 byte array in network byte order (high-order byte first).
-.SH "bool QHostAddress::setAddress ( const TQString & address )"
+.SH "bool TQHostAddress::setAddress ( const TQString & address )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the IPv4 or IPv6 address specified by the string representation \fIaddress\fR (e.g. "127.0.0.1"). Returns TRUE and sets the address if the address was successfully parsed; otherwise returns FALSE and leaves the address unchanged.
-.SH "TQ_UINT32 QHostAddress::toIPv4Address () const"
+.SH "TQ_UINT32 TQHostAddress::toIPv4Address () const"
Returns the IPv4 address as a number.
.PP
For example, if the address is 127.0.0.1, the returned value is 2130706433 (i.e. 0x7f000001).
@@ -134,7 +134,7 @@ For example, if the address is 127.0.0.1, the returned value is 2130706433 (i.e.
This value is only valid when isIp4Addr() returns TRUE.
.PP
See also toString().
-.SH "Q_IPV6ADDR QHostAddress::toIPv6Address () const"
+.SH "Q_IPV6ADDR TQHostAddress::toIPv6Address () const"
Returns the IPv6 address as a Q_IPV6ADDR structure. The structure consists of 16 unsigned characters.
.PP
.nf
@@ -155,7 +155,7 @@ Returns the IPv6 address as a Q_IPV6ADDR structure. The structure consists of 16
This value is only valid when isIPv6Address() returns TRUE.
.PP
See also toString().
-.SH "TQString QHostAddress::toString () const"
+.SH "TQString TQHostAddress::toString () const"
Returns the address as a string.
.PP
For example, if the address is the IPv4 address 127.0.0.1, the returned string is "127.0.0.1".
@@ -163,7 +163,7 @@ For example, if the address is the IPv4 address 127.0.0.1, the returned string i
See also ip4Addr().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqhostaddress.html
+.BR http://doc.trolltech.com/tqhostaddress.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the