Fix documentation for ExtensionSystem::invoke

For new qdoc

Change-Id: Icc4e78bebcf102d58b6b06c8c6b72b738a98db28
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Eike Ziller
2020-02-18 17:45:36 +01:00
parent 89e2327f23
commit fee9bf9cb8

View File

@@ -38,28 +38,28 @@ namespace ExtensionSystem {
*/ */
/*! /*!
\fn Result invoke(QObject *target, const char *slot) \fn template <class Result> Result ExtensionSystem::invoke(QObject *target, const char *slot)
Invokes \a slot on \a target by name via Qt's meta method system. Invokes \a slot on \a target by name via Qt's meta method system.
Returns the result of the meta call. Returns the result of the meta call.
*/ */
/*! /*!
\fn Result invoke(QObject *target, const char *slot, const T0 &t0) \fn template <class Result, class T0> Result ExtensionSystem::invoke(QObject *target, const char *slot, const T0 &t0)
Invokes \a slot on \a target with argument \a t0 by name via Qt's meta method system. Invokes \a slot on \a target with argument \a t0 by name via Qt's meta method system.
Returns the result of the meta call. Returns the result of the meta call.
*/ */
/*! /*!
\fn Result invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1) \fn template <class Result, class T0, class T1> Result ExtensionSystem::invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1)
Invokes \a slot on \a target with arguments \a t0 and \a t1 by name via Qt's meta method system. Invokes \a slot on \a target with arguments \a t0 and \a t1 by name via Qt's meta method system.
Returns the result of the meta call. Returns the result of the meta call.
*/ */
/*! /*!
\fn Result invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1, const T2 &t2) \fn template <class Result, class T0, class T1, class T2> Result ExtensionSystem::invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1, const T2 &t2)
Invokes \a slot on \a target with arguments \a t0, \a t1 and \a t2 by name Invokes \a slot on \a target with arguments \a t0, \a t1 and \a t2 by name
via Qt's meta method system. via Qt's meta method system.