summaryrefslogtreecommitdiffstats
path: root/python/sip/sipgen/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/sip/sipgen/export.c')
-rw-r--r--python/sip/sipgen/export.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/sip/sipgen/export.c b/python/sip/sipgen/export.c
index a6e62523..5200b2cf 100644
--- a/python/sip/sipgen/export.c
+++ b/python/sip/sipgen/export.c
@@ -791,7 +791,7 @@ static void xmlType(argDef *ad, int sec, FILE *fp)
{
int a;
- prcode(fp, "SLOT(");
+ prcode(fp, "TQT_SLOT(");
for (a = 0; a < ad->u.sa->nrArgs; ++a)
{
@@ -892,11 +892,11 @@ static const char *pyType(argDef *ad, int sec, classDef **scope)
break;
case signal_type:
- type_name = "SIGNAL()";
+ type_name = "TQT_SIGNAL()";
break;
case slot_type:
- type_name = "SLOT()";
+ type_name = "TQT_SLOT()";
break;
case rxcon_type:
@@ -904,12 +904,12 @@ static const char *pyType(argDef *ad, int sec, classDef **scope)
if (sec)
type_name = "callable";
else
- type_name = "QObject";
+ type_name = "TQObject";
break;
case qobject_type:
- type_name = "QObject";
+ type_name = "TQObject";
break;
case ustring_type:
@@ -987,7 +987,7 @@ static const char *pyType(argDef *ad, int sec, classDef **scope)
case anyslot_type:
/* Need to check if this is enough. */
- type_name = "SLOT()";
+ type_name = "TQT_SLOT()";
break;
default: