diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-07 21:12:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-07 21:12:27 -0600 |
commit | 0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25 (patch) | |
tree | b3a9fde54095a61cb8c5608604a3b4d79e6e7f3f | |
parent | 6f00524aad07d51f89dfd34d423e86867ff7c00a (diff) | |
download | sip4-tqt-0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25.tar.gz sip4-tqt-0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25.zip |
Rename additional members for tqt3
-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 *, |