summaryrefslogtreecommitdiffstats
path: root/sipgen/transform.c
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:42:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 09:54:01 +0900
commita2339567fb8cbe8abbba1ade8941bc0452d13bc9 (patch)
treec8a6a1f2de5457a1ec1fbed16a98b59eaf0df57c /sipgen/transform.c
parentd768e91379d44b22260cddb3559c1e2243c3b1f5 (diff)
downloadsip4-tqt-a2339567.tar.gz
sip4-tqt-a2339567.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 566a2d4dc8fea5283e39e29717f7a93af9a59da1)
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;