QDnsDomainNameRecord Class
The QDnsDomainNameRecord class stores information about a domain name record. More...
Header: | #include <QDnsDomainNameRecord> |
qmake: | QT += network |
Public Functions
QDnsDomainNameRecord() | |
QDnsDomainNameRecord(const QDnsDomainNameRecord &other) | |
~QDnsDomainNameRecord() | |
QString | name() const |
void | swap(QDnsDomainNameRecord &other) |
quint32 | timeToLive() const |
QString | value() const |
QDnsDomainNameRecord & | operator=(QDnsDomainNameRecord &&other) |
QDnsDomainNameRecord & | operator=(const QDnsDomainNameRecord &other) |
Detailed Description
The QDnsDomainNameRecord class stores information about a domain name record.
When performing a name server lookup, zero or more records will be returned. Each record is represented by a QDnsDomainNameRecord instance.
See also QDnsLookup.
Member Function Documentation
QDnsDomainNameRecord::QDnsDomainNameRecord()
Constructs an empty domain name record object.
QDnsDomainNameRecord::QDnsDomainNameRecord(const QDnsDomainNameRecord &other)
Constructs a copy of other.
QDnsDomainNameRecord::~QDnsDomainNameRecord()
Destroys a domain name record.
QString QDnsDomainNameRecord::name() const
Returns the name for this record.
void QDnsDomainNameRecord::swap(QDnsDomainNameRecord &other)
Swaps this domain-name record instance with other. This function is very fast and never fails.
quint32 QDnsDomainNameRecord::timeToLive() const
Returns the duration in seconds for which this record is valid.
QString QDnsDomainNameRecord::value() const
Returns the value for this domain name record.
QDnsDomainNameRecord &QDnsDomainNameRecord::operator=(QDnsDomainNameRecord &&other)
Move-assignment operator.
QDnsDomainNameRecord &QDnsDomainNameRecord::operator=(const QDnsDomainNameRecord &other)
Assigns the data of the other object to this record object, and returns a reference to it.
© 2017 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.