doc: Correct remaining qdoc warnings in qmetaobject.cpp

clang required adding template clauses to a few \fn commands.

Change-Id: I4e875f719ed58901d227fb0e6b80d4551f3b6e89
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Martin Smith 2018-01-02 15:15:57 +01:00
parent 0a383146c5
commit 38cfda3c82

View File

@ -1589,7 +1589,7 @@ bool QMetaObject::invokeMethodImpl(QObject *object, QtPrivate::QSlotObjectBase *
*/ */
/*! /*!
\fn bool QMetaObject::invokeMethod(QObject *context, Functor function, Qt::ConnectionType type, FunctorReturnType *ret) \fn template<typename Functor, typename FunctorReturnType> bool QMetaObject::invokeMethod(QObject *context, Functor function, Qt::ConnectionType type, FunctorReturnType *ret)
\since 5.10 \since 5.10
@ -1602,7 +1602,7 @@ bool QMetaObject::invokeMethodImpl(QObject *object, QtPrivate::QSlotObjectBase *
*/ */
/*! /*!
\fn bool QMetaObject::invokeMethod(QObject *context, Functor function, FunctorReturnType *ret) \fn template<typename Functor, typename FunctorReturnType> bool QMetaObject::invokeMethod(QObject *context, Functor function, FunctorReturnType *ret)
\since 5.10 \since 5.10
@ -2083,7 +2083,7 @@ QMetaMethod::MethodType QMetaMethod::methodType() const
} }
/*! /*!
\fn QMetaMethod QMetaMethod::fromSignal(PointerToMemberFunction signal) \fn template <typename PointerToMemberFunction> QMetaMethod QMetaMethod::fromSignal(PointerToMemberFunction signal)
\since 5.0 \since 5.0
Returns the meta-method that corresponds to the given \a signal, or an Returns the meta-method that corresponds to the given \a signal, or an