summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:12:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:12:27 -0600
commit0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25 (patch)
treeb3a9fde54095a61cb8c5608604a3b4d79e6e7f3f
parent6f00524aad07d51f89dfd34d423e86867ff7c00a (diff)
downloadsip4-tqt-0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25.tar.gz
sip4-tqt-0cc2bc20418e6a80b3f2ff48c2e53e72f1b47a25.zip
Rename additional members for tqt3
-rw-r--r--siplib/qtlib.c4
-rw-r--r--siplib/sip.h2
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 *,