From b9781b38d8fd868d592d6dee0417f6ab0ea57ac5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:05:55 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- kalyptus/kalyptusCxxToKimono.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kalyptus/kalyptusCxxToKimono.pm') diff --git a/kalyptus/kalyptusCxxToKimono.pm b/kalyptus/kalyptusCxxToKimono.pm index 089cec92..bbc26ba6 100644 --- a/kalyptus/kalyptusCxxToKimono.pm +++ b/kalyptus/kalyptusCxxToKimono.pm @@ -952,7 +952,7 @@ sub preParseClass || ($name eq 'type') || ($classNode->{astNodeName} eq 'KTar' and $name eq 'writeFile_impl') || ($classNode->{astNodeName} eq 'TQApplication' and $name eq 'TQApplication') - # Assume only Qt classes have tr() and trUtf8() in their Q_OBJECT macro + # Assume only Qt classes have tr() and trUtf8() in their TQ_OBJECT macro || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'tr') || ($classNode->{astNodeName} !~ /^Q/ and $name eq 'trUtf8') @@ -3510,7 +3510,7 @@ sub printCSharpdocComment($$$$) $line =~ s/bool/bool/g; $line =~ s/SLOT\(\s*([^\)]*)\) ?\)/SLOT("$1)")/g; $line =~ s/SIGNAL\(\s*([^\)]*)\) ?\)/SIGNAL("$1)")/g; - $line =~ s/Q_OBJECT\n//g; + $line =~ s/TQ_OBJECT\n//g; $line =~ s/public\s*(slots)?:\n/public /g; $line =~ s/([^0-9"]\s*)\*(\s*[^0-9"-])/$1$2/g; $line =~ s/^(\s*)\*/$1/g; -- cgit v1.2.1