|qmake:||QT += network|
|QDnsHostAddressRecord(const QDnsHostAddressRecord &other)|
|QDnsHostAddressRecord &||operator=(QDnsHostAddressRecord &&other)|
|QDnsHostAddressRecord &||operator=(const QDnsHostAddressRecord &other)|
The QDnsHostAddressRecord class stores information about a host address record.
When performing an address lookup, zero or more records will be returned. Each record is represented by a QDnsHostAddressRecord instance.
See also QDnsLookup.
Member Function Documentation
Constructs an empty host address record object.
QDnsHostAddressRecord::QDnsHostAddressRecord(const QDnsHostAddressRecord &other)
Constructs a copy of other.
Destroys a host address record.
QString QDnsHostAddressRecord::name() const
Returns the name for this record.
void QDnsHostAddressRecord::swap(QDnsHostAddressRecord &other)
Swaps this host address record instance with other. This function is very fast and never fails.
quint32 QDnsHostAddressRecord::timeToLive() const
Returns the duration in seconds for which this record is valid.
QHostAddress QDnsHostAddressRecord::value() const
Returns the value for this host address record.
QDnsHostAddressRecord &QDnsHostAddressRecord::operator=(QDnsHostAddressRecord &&other)
QDnsHostAddressRecord &QDnsHostAddressRecord::operator=(const QDnsHostAddressRecord &other)
Assigns the data of the other object to this record object, and returns a reference to it.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.