From 0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 7 Mar 2012 21:12:27 -0600 Subject: Rename additional members for tqt3 --- siplib/qtlib.c | 4 ++-- siplib/sip.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'siplib') 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 *, -- cgit v1.2.1