Changeset 846 for trunk/src/network/kernel/qhostaddress.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/network/kernel/qhostaddress.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 429 429 and QUdpSocket to connect to a host or to set up a server. 430 430 431 A host address is set with setAddress(), checked for its type432 using isIPv4Address() or isIPv6Address(), and retrieved with433 t oIPv4Address(), toIPv6Address(), or toString().431 A host address is set with setAddress(), and retrieved with 432 toIPv4Address(), toIPv6Address(), or toString(). You can check the 433 type with protocol(). 434 434 435 435 \note Please note that QHostAddress does not do DNS lookups. … … 680 680 2130706433 (i.e. 0x7f000001). 681 681 682 This value is only valid if isIp4Addr() returns true. 682 This value is only valid if the Protocol() is 683 \l{QAbstractSocket::}{IPv4Protocol}. 683 684 684 685 \sa toString() … … 705 706 \snippet doc/src/snippets/code/src_network_kernel_qhostaddress.cpp 0 706 707 707 This value is only valid if isIPv6Address() returns true. 708 This value is only valid if the protocol() is 709 \l{QAbstractSocket::}{IPv6Protocol}. 708 710 709 711 \sa toString() … … 1098 1100 to the stream. 1099 1101 1100 \sa { Format of the QDataStream operators}1102 \sa {Serializing Qt Data Types} 1101 1103 */ 1102 1104 QDataStream &operator<<(QDataStream &out, const QHostAddress &address) … … 1128 1130 reference to the stream. 1129 1131 1130 \sa { Format of the QDataStream operators}1132 \sa {Serializing Qt Data Types} 1131 1133 */ 1132 1134 QDataStream &operator>>(QDataStream &in, QHostAddress &address)
Note:
See TracChangeset
for help on using the changeset viewer.