Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/network/socket/qabstractsocket.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    521521#if defined (QABSTRACTSOCKET_DEBUG)
    522522    QString typeStr;
    523     if (q->socketType() == QAbstractSocket::TcpSocket) typeStr = "TcpSocket";
    524     else if (q->socketType() == QAbstractSocket::UdpSocket) typeStr = "UdpSocket";
    525     else typeStr = "UnknownSocketType";
     523    if (q->socketType() == QAbstractSocket::TcpSocket) typeStr = ;
     524    else if (q->socketType() == QAbstractSocket::UdpSocket) typeStr = ;
     525    else typeStr = ;
    526526    QString protocolStr;
    527     if (protocol == QAbstractSocket::IPv4Protocol) protocolStr = "IPv4Protocol";
    528     else if (protocol == QAbstractSocket::IPv6Protocol) protocolStr = "IPv6Protocol";
    529     else protocolStr = "UnknownNetworkLayerProtocol";
     527    if (protocol == QAbstractSocket::IPv4Protocol) protocolStr = ;
     528    else if (protocol == QAbstractSocket::IPv6Protocol) protocolStr = ;
     529    else protocolStr = ;
    530530#endif
    531531
     
    874874        return;
    875875
     876
     877
     878
     879
    876880    addresses = hostInfo.addresses();
    877881
    878882#if defined(QABSTRACTSOCKET_DEBUG)
    879     QString s = "{";
     883    QString s = ;
    880884    for (int i = 0; i < addresses.count(); ++i) {
    881         if (i != 0) s += ", ";
     885        if (i != 0) s += ;
    882886        s += addresses.at(i).toString();
    883887    }
    884     s += '}';
     888    s += ;
    885889    qDebug("QAbstractSocketPrivate::_q_startConnecting(hostInfo == %s)", s.toLatin1().constData());
    886890#endif
Note: See TracChangeset for help on using the changeset viewer.