Browse Source

Rename additional members for tqt3

pull/1/head
Timothy Pearson 11 years ago
parent
commit
0cc2bc2041
  1. 4
      siplib/qtlib.c
  2. 2
      siplib/sip.h

4
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);

2
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 *,

Loading…
Cancel
Save