QDnsMailExchangeRecord Class
La clase QDnsMailExchangeRecord almacena información sobre un registro DNS MX. Más...
| Cabecera: | #include <QDnsMailExchangeRecord> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Network)target_link_libraries(mytarget PRIVATE Qt6::Network) |
| qmake: | QT += network |
- Lista de todos los miembros, incluyendo los heredados
- QDnsMailExchangeRecord es parte de la API de Programación de Redes y Clases Implícitamente Compartidas.
Funciones Públicas
| QDnsMailExchangeRecord() | |
| QDnsMailExchangeRecord(const QDnsMailExchangeRecord &other) | |
| ~QDnsMailExchangeRecord() | |
| QString | exchange() const |
| QString | name() const |
| quint16 | preference() const |
| void | swap(QDnsMailExchangeRecord &other) |
| quint32 | timeToLive() const |
| QDnsMailExchangeRecord & | operator=(const QDnsMailExchangeRecord &other) |
Descripción detallada
Al realizar una búsqueda en un servicio, se devolverán cero o más registros. Cada registro está representado por una instancia de QDnsMailExchangeRecord.
El significado de los campos se define en RFC 1035.
Véase también QDnsLookup.
Documentación de las funciones de los miembros
QDnsMailExchangeRecord::QDnsMailExchangeRecord()
Construye un objeto de registro de intercambio de correo vacío.
QDnsMailExchangeRecord::QDnsMailExchangeRecord(const QDnsMailExchangeRecord &other)
Construye una copia de other.
[noexcept] QDnsMailExchangeRecord::~QDnsMailExchangeRecord()
Destruye un registro de intercambio de correo.
QString QDnsMailExchangeRecord::exchange() const
Devuelve el nombre de dominio del intercambio de correo para este registro.
QString QDnsMailExchangeRecord::name() const
Devuelve el nombre de este registro.
quint16 QDnsMailExchangeRecord::preference() const
Devuelve la preferencia de este registro.
[noexcept] void QDnsMailExchangeRecord::swap(QDnsMailExchangeRecord &other)
Intercambia este registro de intercambio de correo con other. Esta operación es muy rápida y nunca falla.
quint32 QDnsMailExchangeRecord::timeToLive() const
Devuelve la duración en segundos para la que este registro es válido.
QDnsMailExchangeRecord &QDnsMailExchangeRecord::operator=(const QDnsMailExchangeRecord &other)
Asigna los datos del objeto other a este objeto de registro y devuelve una referencia al mismo.
© 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.