equal
deleted
inserted
replaced
1095 /*! \relates QHostAddress |
1095 /*! \relates QHostAddress |
1096 |
1096 |
1097 Writes host address \a address to the stream \a out and returns a reference |
1097 Writes host address \a address to the stream \a out and returns a reference |
1098 to the stream. |
1098 to the stream. |
1099 |
1099 |
1100 \sa {Format of the QDataStream operators} |
1100 \sa {Serializing Qt Data Types} |
1101 */ |
1101 */ |
1102 QDataStream &operator<<(QDataStream &out, const QHostAddress &address) |
1102 QDataStream &operator<<(QDataStream &out, const QHostAddress &address) |
1103 { |
1103 { |
1104 qint8 prot; |
1104 qint8 prot; |
1105 prot = qint8(address.protocol()); |
1105 prot = qint8(address.protocol()); |
1125 /*! \relates QHostAddress |
1125 /*! \relates QHostAddress |
1126 |
1126 |
1127 Reads a host address into \a address from the stream \a in and returns a |
1127 Reads a host address into \a address from the stream \a in and returns a |
1128 reference to the stream. |
1128 reference to the stream. |
1129 |
1129 |
1130 \sa {Format of the QDataStream operators} |
1130 \sa {Serializing Qt Data Types} |
1131 */ |
1131 */ |
1132 QDataStream &operator>>(QDataStream &in, QHostAddress &address) |
1132 QDataStream &operator>>(QDataStream &in, QHostAddress &address) |
1133 { |
1133 { |
1134 qint8 prot; |
1134 qint8 prot; |
1135 in >> prot; |
1135 in >> prot; |