PythonQt
|
stores information about a signal target More...
#include <PythonQtSignalReceiver.h>
Public Member Functions | |
PythonQtSignalTarget () | |
PythonQtSignalTarget (int signalId, const PythonQtMethodInfo *methodInfo, int slotId, PyObject *callable) | |
~PythonQtSignalTarget () | |
int | signalId () const |
get the id of the original signal More... | |
int | slotId () const |
get the id that was assigned to this simulated slot More... | |
const PythonQtMethodInfo * | methodInfo () const |
get the signals parameter info More... | |
void | call (void **arguments) const |
call the python callable with the given arguments (as defined in methodInfo) More... | |
bool | isSame (int signalId, PyObject *callable) const |
check if it is the same signal target More... | |
Static Public Member Functions | |
static PyObject * | call (PyObject *callable, const PythonQtMethodInfo *methodInfo, void **arguments, bool skipFirstArgumentOfMethodInfo=false) |
call the given callable with arguments described by PythonQtMethodInfo, returns a new reference as result value (or NULL) More... | |
stores information about a signal target
copy construction and assignment works fine with the C++ standard behavior and are thus not implemented
Definition at line 56 of file PythonQtSignalReceiver.h.
|
inline |
Definition at line 58 of file PythonQtSignalReceiver.h.
|
inline |
Definition at line 64 of file PythonQtSignalReceiver.h.
|
inline |
Definition at line 72 of file PythonQtSignalReceiver.h.
|
static |
call the given callable with arguments described by PythonQtMethodInfo, returns a new reference as result value (or NULL)
void PythonQtSignalTarget::call | ( | void ** | arguments | ) | const |
call the python callable with the given arguments (as defined in methodInfo)
bool PythonQtSignalTarget::isSame | ( | int | signalId, |
PyObject * | callable | ||
) | const |
check if it is the same signal target
|
inline |
get the signals parameter info
Definition at line 82 of file PythonQtSignalReceiver.h.
|
inline |
get the id of the original signal
Definition at line 76 of file PythonQtSignalReceiver.h.
|
inline |
get the id that was assigned to this simulated slot
Definition at line 79 of file PythonQtSignalReceiver.h.