aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/extensionsystem/invoker.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2020-02-07 11:08:17 +0100
committerEike Ziller <[email protected]>2020-02-07 14:27:41 +0000
commitd9d86782ce1679598d517e1b8cae526e216b7195 (patch)
tree710c85caf871e658ae92cda591492efca15c880d /src/libs/extensionsystem/invoker.cpp
parentc42ca50537028bccb40a2eb3014677857ea516d4 (diff)
Add documentation for ExtensionSystem::invoke
Task-number: QTCREATORBUG-23544 Change-Id: I41078ef167f1dd1592cf22a69d0cad13429db201 Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Leena Miettinen <[email protected]>
Diffstat (limited to 'src/libs/extensionsystem/invoker.cpp')
-rw-r--r--src/libs/extensionsystem/invoker.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/libs/extensionsystem/invoker.cpp b/src/libs/extensionsystem/invoker.cpp
index 1506c4910a9..150dabdaa8c 100644
--- a/src/libs/extensionsystem/invoker.cpp
+++ b/src/libs/extensionsystem/invoker.cpp
@@ -27,6 +27,45 @@
namespace ExtensionSystem {
+/*!
+ \class ExtensionSystem::InvokerBase
+ \internal
+*/
+
+/*!
+ \class ExtensionSystem::Invoker
+ \internal
+*/
+
+/*!
+ \fn Result invoke(QObject *target, const char *slot)
+ Invokes \a slot on \a target by name via Qt's meta method system.
+
+ Returns the result of the meta call.
+*/
+
+/*!
+ \fn Result 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.
+
+ Returns the result of the meta call.
+*/
+
+/*!
+ \fn Result 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.
+
+ Returns the result of the meta call.
+*/
+
+/*!
+ \fn Result 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
+ via Qt's meta method system.
+
+ Returns the result of the meta call.
+*/
+
InvokerBase::InvokerBase()
{
lastArg = 0;