From 479f5f799523bffbcc83dff581a2299c047c6fff Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:44:01 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- python/sip/sipgen/export.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'python/sip/sipgen/export.c') 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: -- cgit v1.2.1