![]() |
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 31 of file qdnslookup.h.
| QDnsDomainNameRecord::QDnsDomainNameRecord | ( | ) |
Constructs an empty domain name record object.
Definition at line 827 of file qdnslookup.cpp.
| QDnsDomainNameRecord::QDnsDomainNameRecord | ( | const QDnsDomainNameRecord & | other | ) |
Constructs a copy of other.
Definition at line 836 of file qdnslookup.cpp.
| QDnsDomainNameRecord::~QDnsDomainNameRecord | ( | ) |
Destroys a domain name record.
Definition at line 845 of file qdnslookup.cpp.
| QString QDnsDomainNameRecord::name | ( | ) | const |
Returns the name for this record.
Definition at line 853 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 881 of file qdnslookup.cpp.
|
inlinenoexcept |
Definition at line 36 of file qdnslookup.h.
|
inlinenoexcept |
\memberswap{domain-name record instance}
Definition at line 40 of file qdnslookup.h.
| quint32 QDnsDomainNameRecord::timeToLive | ( | ) | const |
Returns the duration in seconds for which this record is valid.
Definition at line 862 of file qdnslookup.cpp.
| QString QDnsDomainNameRecord::value | ( | ) | const |
Returns the value for this domain name record.
Definition at line 871 of file qdnslookup.cpp.
|
friend |
Definition at line 48 of file qdnslookup.h.