diff --git a/sipgen/gencode.c b/sipgen/gencode.c index 3a94ca7..7dcf1b1 100644 --- a/sipgen/gencode.c +++ b/sipgen/gencode.c @@ -9023,7 +9023,7 @@ static void generateTypeDefinition(sipSpec *pt, classDef *cd, FILE *fp) "\n" "\n" "/* Define this type's PyTQt4 signals. */\n" -"static const pyqt4TQtSignal pyqt4_signals_%C[] = {\n" +"static const pyqt4QtSignal pyqt4_signals_%C[] = {\n" , classFTQCName(cd)); } diff --git a/siplib/sip.h b/siplib/sip.h index c23688b..3e9a3c6 100644 --- a/siplib/sip.h +++ b/siplib/sip.h @@ -1537,7 +1537,7 @@ typedef struct _pyqt3ClassTypeDef { /* * The description of a TQt signal for PyTQt4. */ -typedef struct _pyqt4TQtSignal { +typedef struct _pyqt4QtSignal { /* The C++ name and signature of the signal. */ const char *signature; @@ -1549,7 +1549,7 @@ typedef struct _pyqt4TQtSignal { * code that implements those methods. */ PyMethodDef *non_signals; -} pyqt4TQtSignal; +} pyqt4QtSignal; /* @@ -1575,7 +1575,7 @@ typedef struct _pyqt4ClassTypeDef { * The table of signals emitted by the type. These are grouped by signal * name. */ - const pyqt4TQtSignal *qt4_signals; + const pyqt4QtSignal *qt4_signals; } pyqt4ClassTypeDef;