25#ifndef QMDNSENGINE_QUERY_H
26#define QMDNSENGINE_QUERY_H
30#include "qmdnsengine_export.h"
35class QMDNSENGINE_EXPORT QueryPrivate;
109 QueryPrivate *
const d;
112QMDNSENGINE_EXPORT QDebug operator<<(QDebug dbg,
const Query &query);
DNS query.
Definition query.h:52
quint16 type() const
Retrieve the type of record being queried.
Query()
Create an empty query.
Query(const Query &other)
Create a copy of an existing query.
virtual ~Query()
Destroy the query.
bool unicastResponse() const
Determine if a unicast response is desired.
Query & operator=(const Query &other)
Assignment operator.
void setUnicastResponse(bool unicastResponse)
Set whether a unicast response is desired.
void setName(const QByteArray &name)
Set the name to query.
void setType(quint16 type)
Set the type of record to query.
QByteArray name() const
Retrieve the name being queried.