Auf dieser Seite

QDnsTextRecord Class

Die Klasse „QDnsTextRecord“ speichert Informationen zu einem DNS-TXT-Eintrag. Mehr...

Header: #include <QDnsTextRecord>
CMake: find_package(Qt6 REQUIRED COMPONENTS Network)
target_link_libraries(mytarget PRIVATE Qt6::Network)
qmake: QT += network

Öffentliche Funktionen

QDnsTextRecord()
QDnsTextRecord(const QDnsTextRecord &other)
~QDnsTextRecord()
QString name() const
void swap(QDnsTextRecord &other)
quint32 timeToLive() const
QList<QByteArray> values() const
QDnsTextRecord &operator=(const QDnsTextRecord &other)

Ausführliche Beschreibung

Bei der Durchführung einer Textsuche werden null oder mehr Datensätze zurückgegeben. Jeder Datensatz wird durch eine QDnsTextRecord-Instanz dargestellt.

Die Bedeutung der Felder ist in RFC 1035 definiert.

Siehe auch „ QDnsLookup “.

Dokumentation der Mitgliedsfunktionen

QDnsTextRecord::QDnsTextRecord()

Erstellt ein leeres Textsatzobjekt.

QDnsTextRecord::QDnsTextRecord(const QDnsTextRecord &other)

Erstellt eine Kopie von „ other “.

[noexcept] QDnsTextRecord::~QDnsTextRecord()

Löscht einen Textdatensatz.

QString QDnsTextRecord::name() const

Gibt den Namen dieses Textsatzes zurück.

[noexcept] void QDnsTextRecord::swap(QDnsTextRecord &other)

Ersetzt diese Textsatzinstanz durch other. Dieser Vorgang ist sehr schnell und schlägt niemals fehl.

quint32 QDnsTextRecord::timeToLive() const

Gibt die Gültigkeitsdauer dieses Datensatzes in Sekunden zurück.

QList<QByteArray> QDnsTextRecord::values() const

Gibt die Werte für diesen Texteintrag zurück.

QDnsTextRecord &QDnsTextRecord::operator=(const QDnsTextRecord &other)

Weist diesem Datensatzobjekt die Daten des Objekts „ other “ zu und gibt eine Referenz darauf zurück.

© 2026 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.