summaryrefslogtreecommitdiffstats
path: root/python/sip/sipgen/export.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /python/sip/sipgen/export.c
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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: