From 9b74ae4899e4e4b7ea773056180c6745fb7c9245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 30 Sep 2013 22:07:33 +0200 Subject: [PATCH] Revert pyqt3TQtSignal to pyqt3QtSignal It allows to retain compatibility with the original SIP4 --- sipgen/gencode.c | 2 +- siplib/sip.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sipgen/gencode.c b/sipgen/gencode.c index 4de2e22..3a94ca7 100644 --- a/sipgen/gencode.c +++ b/sipgen/gencode.c @@ -6171,7 +6171,7 @@ static void generateEmitters(classDef *cd, FILE *fp) prcode(fp, "\n" -"static pyqt3TQtSignal signals_%C[] = {\n" +"static pyqt3QtSignal signals_%C[] = {\n" ,classFTQCName(cd)); noIntro = FALSE; diff --git a/siplib/sip.h b/siplib/sip.h index 633dae7..c23688b 100644 --- a/siplib/sip.h +++ b/siplib/sip.h @@ -1505,13 +1505,13 @@ typedef int (*pyqt3EmitFunc)(sipSimpleWrapper *, PyObject *); /* * Maps the name of a TQt signal to a wrapper function to emit it. */ -typedef struct _pyqt3TQtSignal { +typedef struct _pyqt3QtSignal { /* The signal name. */ const char *st_name; /* The emitter function. */ pyqt3EmitFunc st_emitfunc; -} pyqt3TQtSignal; +} pyqt3QtSignal; /* @@ -1525,7 +1525,7 @@ typedef struct _pyqt3ClassTypeDef { sipClassTypeDef super; /* The emit table for TQt signals. */ - pyqt3TQtSignal *qt3_emit; + pyqt3QtSignal *qt3_emit; } pyqt3ClassTypeDef;