diff options
author | Slávek Banko <[email protected]> | 2013-09-30 22:07:33 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-09-30 22:07:33 +0200 |
commit | 9b74ae4899e4e4b7ea773056180c6745fb7c9245 (patch) | |
tree | 4bc56cef3e50d39aab5f48196243fb6db36eb621 | |
parent | 58f18d64ee4fcbdeafca6b73c2bb4a149b57c776 (diff) | |
download | sip4-tqt-9b74ae4899e4e4b7ea773056180c6745fb7c9245.tar.gz sip4-tqt-9b74ae4899e4e4b7ea773056180c6745fb7c9245.zip |
Revert pyqt3TQtSignal to pyqt3QtSignal
It allows to retain compatibility with the original SIP4
-rw-r--r-- | sipgen/gencode.c | 2 | ||||
-rw-r--r-- | 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; |