Add missing QDnsLookup constructor implementation
Task-number: QTBUG-39136 Change-Id: I4d2626416fae99339988cd994653ce7ec753f081 Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
bb3bf326b5
commit
c896c6b79b
@ -283,9 +283,21 @@ QDnsLookup::QDnsLookup(Type type, const QString &name, QObject *parent)
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn QDnsLookup::QDnsLookup(Type type, const QString &name, const QHostAddress &nameserver, QObject *parent)
|
\fn QDnsLookup::QDnsLookup(Type type, const QString &name, const QHostAddress &nameserver, QObject *parent)
|
||||||
\internal
|
\since 5.4
|
||||||
|
Constructs a QDnsLookup object for the given \a type, \a name and
|
||||||
|
\a nameserver and sets \a parent as the parent object.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
QDnsLookup::QDnsLookup(Type type, const QString &name, const QHostAddress &nameserver, QObject *parent)
|
||||||
|
: QObject(*new QDnsLookupPrivate, parent)
|
||||||
|
{
|
||||||
|
Q_D(QDnsLookup);
|
||||||
|
qRegisterMetaType<QDnsLookupReply>();
|
||||||
|
d->name = name;
|
||||||
|
d->type = type;
|
||||||
|
d->nameserver = nameserver;
|
||||||
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Destroys the QDnsLookup object.
|
Destroys the QDnsLookup object.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user