![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QDnsDomainNameRecord class stores information about a domain name record. More...
#include <qdnslookup.h>
Public Member Functions | |
QDnsDomainNameRecord () | |
Constructs an empty domain name record object. | |
QDnsDomainNameRecord (const QDnsDomainNameRecord &other) | |
Constructs a copy of other. | |
QDnsDomainNameRecord & | operator= (QDnsDomainNameRecord &&other) noexcept |
QDnsDomainNameRecord & | operator= (const QDnsDomainNameRecord &other) |
Assigns the data of the other object to this record object, and returns a reference to it. | |
~QDnsDomainNameRecord () | |
Destroys a domain name record. | |
void | swap (QDnsDomainNameRecord &other) noexcept |
\memberswap{domain-name record instance} | |
QString | name () const |
Returns the name for this record. | |
quint32 | timeToLive () const |
Returns the duration in seconds for which this record is valid. | |
QString | value () const |
Returns the value for this domain name record. | |
Friends | |
class | QDnsLookupRunnable |
The QDnsDomainNameRecord class stores information about a domain name record.
\inmodule QtNetwork
When performing a name server lookup, zero or more records will be returned. Each record is represented by a QDnsDomainNameRecord instance.
Definition at line 30 of file qdnslookup.h.
QDnsDomainNameRecord::QDnsDomainNameRecord | ( | ) |
Constructs an empty domain name record object.
Definition at line 826 of file qdnslookup.cpp.
QDnsDomainNameRecord::QDnsDomainNameRecord | ( | const QDnsDomainNameRecord & | other | ) |
Constructs a copy of other.
Definition at line 835 of file qdnslookup.cpp.
QDnsDomainNameRecord::~QDnsDomainNameRecord | ( | ) |
Destroys a domain name record.
Definition at line 844 of file qdnslookup.cpp.
QString QDnsDomainNameRecord::name | ( | ) | const |
Returns the name for this record.
Definition at line 852 of file qdnslookup.cpp.
QDnsDomainNameRecord & QDnsDomainNameRecord::operator= | ( | const QDnsDomainNameRecord & | other | ) |
Assigns the data of the other object to this record object, and returns a reference to it.
Definition at line 880 of file qdnslookup.cpp.
|
inlinenoexcept |
Definition at line 35 of file qdnslookup.h.
|
inlinenoexcept |
\memberswap{domain-name record instance}
Definition at line 39 of file qdnslookup.h.
quint32 QDnsDomainNameRecord::timeToLive | ( | ) | const |
Returns the duration in seconds for which this record is valid.
Definition at line 861 of file qdnslookup.cpp.
QString QDnsDomainNameRecord::value | ( | ) | const |
Returns the value for this domain name record.
Definition at line 870 of file qdnslookup.cpp.
|
friend |
Definition at line 47 of file qdnslookup.h.