summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libs/extensionsystem/invoker.cpp39
-rw-r--r--src/libs/extensionsystem/invoker.h2
2 files changed, 41 insertions, 0 deletions
diff --git a/src/libs/extensionsystem/invoker.cpp b/src/libs/extensionsystem/invoker.cpp
index 1506c4910a..150dabdaa8 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;
diff --git a/src/libs/extensionsystem/invoker.h b/src/libs/extensionsystem/invoker.h
index 1286e07aaa..6db1a32561 100644
--- a/src/libs/extensionsystem/invoker.h
+++ b/src/libs/extensionsystem/invoker.h
@@ -150,6 +150,7 @@ public:
}
};
+#ifndef Q_QDOC
template <class Result>
Result invokeHelper(InvokerBase &in, QObject *target, const char *slot)
{
@@ -164,6 +165,7 @@ inline void invokeHelper<void>(InvokerBase &in, QObject *target, const char *slo
{
in.invoke(target, slot);
}
+#endif
template<class Result>
Result invoke(QObject *target, const char *slot)