- Extending Qt Creator Manual
- ExtensionSystem Namespace
- Extending Qt Creator Manual 6.0.1

# ExtensionSystem Namespace

The ExtensionSystem namespace provides classes that belong to the core plugin system. More...

Header: | #include <ExtensionSystem>

## Functions

Result | invoke(QObject *target, const char *slot)
Result | invoke(QObject *target, const char *slot, const T0 &t0)
Result | invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1)
Result | invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1, const T2 &t2)

## Detailed Description

The basic extension system contains the plugin manager and its supporting classes, and the IPlugin interface that must be implemented by plugin providers.

## Function Documentation

### template <typename Result> Result ExtensionSystem::invoke(QObject *target, const char *slot)

Invokes slot on target by name via Qt's meta method system.

Returns the result of the meta call.

### template <typename Result, typename T0> Result ExtensionSystem::invoke(QObject *target, const char *slot, const T0 &t0)

Invokes slot on target with argument t0 by name via Qt's meta method system.

Returns the result of the meta call.

### template <typename Result, typename T0, typename T1> Result ExtensionSystem::invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1)

Invokes slot on target with arguments t0 and t1 by name via Qt's meta method system.

Returns the result of the meta call.

### template <typename Result, typename T0, typename T1, typename T2> Result ExtensionSystem::invoke(QObject *target, const char *slot, const T0 &t0, const T1 &t1, const T2 &t2)

Invokes slot on target with arguments t0, t1 and t2 by name via Qt's meta method system.

Returns the result of the meta call.