Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/network/kernel/qhostaddress.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    429429    and QUdpSocket to connect to a host or to set up a server.
    430430
    431     A host address is set with setAddress(), checked for its type
    432     using isIPv4Address() or isIPv6Address(), and retrieved with
    433     toIPv4Address(), 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().
    434434
    435435    \note Please note that QHostAddress does not do DNS lookups.
     
    680680    2130706433 (i.e. 0x7f000001).
    681681
    682     This value is only valid if isIp4Addr() returns true.
     682    This value is only valid if the Protocol() is
     683    \l{QAbstractSocket::}{IPv4Protocol}.
    683684
    684685    \sa toString()
     
    705706    \snippet doc/src/snippets/code/src_network_kernel_qhostaddress.cpp 0
    706707
    707     This value is only valid if isIPv6Address() returns true.
     708    This value is only valid if the protocol() is
     709    \l{QAbstractSocket::}{IPv6Protocol}.
    708710
    709711    \sa toString()
     
    10981100    to the stream.
    10991101
    1100     \sa {Format of the QDataStream operators}
     1102    \sa {Serializing Qt Data Types}
    11011103*/
    11021104QDataStream &operator<<(QDataStream &out, const QHostAddress &address)
     
    11281130    reference to the stream.
    11291131
    1130     \sa {Format of the QDataStream operators}
     1132    \sa {Serializing Qt Data Types}
    11311133*/
    11321134QDataStream &operator>>(QDataStream &in, QHostAddress &address)
Note: See TracChangeset for help on using the changeset viewer.