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 | |
int | slotId () const |
get the id that was assigned to this simulated slot | |
const PythonQtMethodInfo * | methodInfo () const |
get the signals parameter info | |
void | call (void **arguments) const |
call the python callable with the given arguments (as defined in methodInfo) | |
bool | isSame (int signalId, PyObject *callable) const |
check if it is the same signal target | |
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) | |
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.
References PythonQtConvertPairToPython().
|
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)
call the python callable with the given arguments (as defined in methodInfo)
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.