- Table of Contents
- sipEmitSignal — Emit a Python or Qt signal
- sipConvertRx — Convert a Python receiver to a Qt receiver
- sipConnectRx — Connect a Qt or a Python signal
- sipGetRx — Convert a valid Python signal or slot to an existing proxy Qt slot
- sipDisconnectRx — Disconnect a Qt or Python signal from a Python slot
These functions are specific for the Qt support. They are in the separate files
sipqt.h and
qtlib.cpp.
Name
sipEmitSignal -- Emit a Python or Qt signal
Synopsis
int sipEmitSignal
(sipThisType * w, char * sig, PyObject * sigargs);
Description
Return Value
Return 0 if the signal was emitted or <0 if there was an error.
Name
sipConvertRx -- Convert a Python receiver to a Qt receiver
Synopsis
QObject * sipConvertRx
(sipProxy *(*)() proxyfunc, sipThisType * txThis, char * sigargs, PyObject * rxobj, char * slot, char ** memberp, int * iserr);
Description
Convert a Python receiver (either a Python signal or slot or a Qt signal or slot)
to a Qt receiver. It is only ever called when the signal is a Qt signal.
Return Value
Return NULL is there was an error.
iserr
Set
*iserr to TRUE if there was an error.
Name
sipConnectRx -- Connect a Qt or a Python signal
Synopsis
PyObject * sipConnectRx
(PyObject * txobj, char * sig, PyObject * rxobj, char * slot);
Description
Connect a Qt signal or a Python signal to a Qt slot, a Qt signal, a Python
slot or a Python signal. This is all possible combinations.
Return Value
Py_True or Py_False or NULL, if there was an error.
Name
sipGetRx -- Convert a valid Python signal or slot to an existing proxy Qt slot
Synopsis
QObject * sipGetRx
(sipThisType * txThis, char * sigargs,, PyObject * rxobj, char * slot, char ** memberp, int * iserr);
Description
Return Value
NULL if there was an error.
Name
sipDisconnectRx -- Disconnect a Qt or Python signal from a Python slot
Synopsis
PyObject * sipDisconnectRx
(PyObject * txobj, char * sig, PyObject * rxobj, char * slot);