diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp index 0156e22d41..4682070712 100644 --- a/src/network/kernel/qhostinfo.cpp +++ b/src/network/kernel/qhostinfo.cpp @@ -300,7 +300,7 @@ int QHostInfo::lookupHost(const QString &name, QObject *receiver, */ /*! - \fn int QHostInfo::lookupHost(const QString &name, const QObject *receiver, PointerToMemberFunction function) + \fn template int QHostInfo::lookupHost(const QString &name, const QObject *receiver, PointerToMemberFunction function) \since 5.9 @@ -319,7 +319,7 @@ int QHostInfo::lookupHost(const QString &name, QObject *receiver, */ /*! - \fn int QHostInfo::lookupHost(const QString &name, Functor functor) + \fn template int QHostInfo::lookupHost(const QString &name, Functor functor) \since 5.9 @@ -337,7 +337,7 @@ int QHostInfo::lookupHost(const QString &name, QObject *receiver, */ /*! - \fn int QHostInfo::lookupHost(const QString &name, const QObject *context, Functor functor) + \fn template int QHostInfo::lookupHost(const QString &name, const QObject *context, Functor functor) \since 5.9 diff --git a/src/network/kernel/qhostinfo.h b/src/network/kernel/qhostinfo.h index c5727bb6eb..75917a02a3 100644 --- a/src/network/kernel/qhostinfo.h +++ b/src/network/kernel/qhostinfo.h @@ -90,7 +90,7 @@ public: static QString localHostName(); static QString localDomainName(); -#ifdef Q_QDOC +#ifdef Q_CLANG_QDOC template static int QHostInfo::lookupHost(const QString &name, const QObject *receiver, PointerToMemberFunction function);