summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qhostinfo.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-10 12:38:59 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-12 14:49:10 +0000
commita61c6a7a2e0f0ae57f2fbddf669e8789d977e5e0 (patch)
treecffa94ab1ca231f39cebba0509878d051bdd352b /src/network/kernel/qhostinfo.cpp
parentc45947aeefa1a83eda767edca4fd4c6f9404d3ff (diff)
doc: Add template clauses in qhostinfo.cpp
A few \fn commands were missing the template clause now required by clang-qdoc. This update adds the template clauses. It also changes an instance of Q_QDOC to Q_CLANG_QDOC. Change-Id: I2850d43d98debb80e01c36a524e0c00651a89298 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/network/kernel/qhostinfo.cpp')
-rw-r--r--src/network/kernel/qhostinfo.cpp6
1 files changed, 3 insertions, 3 deletions
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<typename PointerToMemberFunction> 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<typename Functor> 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<typename Functor> int QHostInfo::lookupHost(const QString &name, const QObject *context, Functor functor)
\since 5.9