diff options
Diffstat (limited to 'sipgen/parser.y')
-rw-r--r-- | sipgen/parser.y | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sipgen/parser.y b/sipgen/parser.y index 249079c..da83b35 100644 --- a/sipgen/parser.y +++ b/sipgen/parser.y @@ -1153,7 +1153,7 @@ prepycode: TK_PREPYCODE codeblock { /* * This is a no-op and is retained for compatibility * until the last use of it (by SIP-TQt v3) can be removed - * from PyQt. + * from PyTQt. */ } ; @@ -2356,7 +2356,7 @@ argvalue: TK_SIPSIGNAL optname optflags optassign { currentSpec -> sigslots = TRUE; } | TK_TQOBJECT optname optflags { - $$.atype = qobject_type; + $$.atype = tqobject_type; $$.argflags = 0; $$.nrderefs = 0; $$.name = cacheName(currentSpec, $2); @@ -2875,7 +2875,7 @@ static moduleDef *allocModule() newmod->version = -1; newmod->encoding = no_type; - newmod->qobjclass = -1; + newmod->tqobjclass = -1; newmod->nrvirthandlers = -1; newmod->next_key = 1; @@ -5005,7 +5005,7 @@ static void newFunction(sipSpec *pt, moduleDef *mod, classDef *c_scope, if (isvirt) { - if (isSignal(od) && pluginPyTQt3(pt)) + if (isSignal(od) && pluginPyTQt(pt)) yyerror("Virtual signals aren't supported"); setIsVirtual(od); @@ -6060,11 +6060,11 @@ static const char *getDocValue(optFlags *optflgs) /* - * Return TRUE if the PyQt3 plugin was specified. + * Return TRUE if the PyTQt plugin was specified. */ -int pluginPyTQt3(sipSpec *pt) +int pluginPyTQt(sipSpec *pt) { - return stringFind(pt->plugins, "PyQt3"); + return stringFind(pt->plugins, "PyTQt"); } |