52 void MyObject::lookupServers()
57 this,
SLOT(handleServers()));
61 dns->setName(
"_xmpp-client._tcp.gmail.com");
68 void MyObject::handleServers()
78 const auto records = dns->serviceRecords();
The QDnsLookup class represents a DNS lookup.
The QDnsServiceRecord class stores information about a DNS SRV record.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)