General-purpose QObject utilities.
More...
#include <ObjectUtils.h++>
|
static bool | invokeSlot (QObject *target, const char *slot, const QVariantList &args=QVariantList()) |
| Invokes a slot. More...
|
|
General-purpose QObject utilities.
- Author
- Mark Lindner
◆ invokeSlot()
static bool invokeSlot |
( |
QObject * |
target, |
|
|
const char * |
slot, |
|
|
const QVariantList & |
args = QVariantList() |
|
) |
| |
|
static |
Invokes a slot.
- Parameters
-
target | The target object. |
slot | The slot to invoke. |
args | Arguments to pass to the slot. If there are more than MAX_SLOT_ARGS arguments in this list, the extra arguments will be ignored. |
◆ MAX_SLOT_ARGS
The maximum number of slot arguments that can be passed to invokeSlot().
The documentation for this class was generated from the following file: