summaryrefslogtreecommitdiffstats
path: root/sipgen/transform.c
diff options
context:
space:
mode:
Diffstat (limited to 'sipgen/transform.c')
-rw-r--r--sipgen/transform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sipgen/transform.c b/sipgen/transform.c
index d88a7f0..2c836a7 100644
--- a/sipgen/transform.c
+++ b/sipgen/transform.c
@@ -121,7 +121,7 @@ void transform(sipSpec *pt)
* Mark any TQObject class. This flag will ripple through all derived
* classes when we set the hierarchy.
*/
- if (strcmp(classBaseName(cd), TQOBJECT_OBJECT_NAME_STRING) == 0)
+ if (strcmp(classBaseName(cd), "TQObject") == 0)
setIsTQObjectSubClass(cd);
cd = next;
@@ -3405,7 +3405,7 @@ static void createSortedNumberedTypesTable(sipSpec *pt, moduleDef *mod)
ad->u.cd->iff->ifacenr = i;
/* If we find a class called TQObject, assume it's TQt. */
- if (strcmp(ad->name->text, TQOBJECT_OBJECT_NAME_STRING) == 0)
+ if (strcmp(ad->name->text, "TQObject") == 0)
mod->tqobjclass = i;
break;