diff options
author | Martin Smith <martin.smith@qt.io> | 2018-01-02 15:15:57 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2018-01-04 12:51:23 +0000 |
commit | 38cfda3c822e9ba8e83d5389633899f6426e6fdb (patch) | |
tree | d4094a1d91e94ad700c00f43f40a74a6ac29218a /src/corelib/kernel/qmetaobject.cpp | |
parent | 0a383146c57d85c6d73b28a69beb86657060ec05 (diff) |
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>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
-rw-r--r-- | src/corelib/kernel/qmetaobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index 3560ea1b32..6df3354679 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -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 @@ -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 @@ -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 Returns the meta-method that corresponds to the given \a signal, or an |