The QDnsTextRecord class stores information about a DNS TXT record. More...
Header: | #include <QDnsTextRecord> |
qmake: | QT += network |
QDnsTextRecord() | |
QDnsTextRecord(const QDnsTextRecord &other) | |
~QDnsTextRecord() | |
QString | name() const |
void | swap(QDnsTextRecord &other) |
quint32 | timeToLive() const |
QList<QByteArray> | values() const |
QDnsTextRecord & | operator=(QDnsTextRecord &&other) |
QDnsTextRecord & | operator=(const QDnsTextRecord &other) |
The QDnsTextRecord class stores information about a DNS TXT record.
When performing a text lookup, zero or more records will be returned. Each record is represented by a QDnsTextRecord instance.
The meaning of the fields is defined in RFC 1035.
See also QDnsLookup.
Constructs an empty text record object.
Constructs a copy of other.
Destroys a text record.
Returns the name for this text record.
Swaps this text record instance with other. This function is very fast and never fails.
Returns the duration in seconds for which this record is valid.
Returns the values for this text record.
Move-assignment operator.
Assigns the data of the other object to this record object, and returns a reference to it.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qdnstextrecord.html