diff options
Diffstat (limited to 'siplib')
-rw-r--r-- | siplib/qtlib.c | 4 | ||||
-rw-r--r-- | siplib/sip.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/siplib/qtlib.c b/siplib/qtlib.c index 88432b7..9bf065a 100644 --- a/siplib/qtlib.c +++ b/siplib/qtlib.c @@ -95,9 +95,9 @@ PyObject *sip_api_invoke_slot(const sipSlot *slot, PyObject *sigargs) /* Fan out TQt signals. (Only PyTQt3 will do this.) */ if (slot->name != NULL && slot->name[0] != '\0') { - assert(sipTQtSupport->qt_emit_signal); + assert(sipTQtSupport->tqt_emit_signal); - if (sipTQtSupport->qt_emit_signal(slot->pyobj, slot->name, sigargs) < 0) + if (sipTQtSupport->tqt_emit_signal(slot->pyobj, slot->name, sigargs) < 0) return NULL; Py_INCREF(Py_None); diff --git a/siplib/sip.h b/siplib/sip.h index ddd3320..e7c5fe7 100644 --- a/siplib/sip.h +++ b/siplib/sip.h @@ -1386,7 +1386,7 @@ typedef struct _sipTQtAPI { int (*qt_disconnect)(void *, const char *, void *, const char *); int (*qt_same_name)(const char *, const char *); sipSlot *(*qt_find_sipslot)(void *, void **); - int (*qt_emit_signal)(PyObject *, const char *, PyObject *); + int (*tqt_emit_signal)(PyObject *, const char *, PyObject *); int (*qt_connect_py_signal)(PyObject *, const char *, PyObject *, const char *); void (*qt_disconnect_py_signal)(PyObject *, const char *, PyObject *, |