summaryrefslogtreecommitdiffstats
path: root/scripts/includemocs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 15:07:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-21 09:45:22 +0900
commit3c9c6c22a3e443bf98087def488e60f381a09bad (patch)
treecb7c51f7957ad77691b5a370b6d5ed02b9dfca06 /scripts/includemocs
parent291c8d1ad96e9d1d6296d8fdef2861a8f12e6e30 (diff)
downloadtdesdk-3c9c6c22a3e443bf98087def488e60f381a09bad.tar.gz
tdesdk-3c9c6c22a3e443bf98087def488e60f381a09bad.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 44548d3e71aab859c1547104f3419fd288add594)
Diffstat (limited to 'scripts/includemocs')
-rwxr-xr-xscripts/includemocs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/includemocs b/scripts/includemocs
index 2ff30a55..3b2c87f0 100755
--- a/scripts/includemocs
+++ b/scripts/includemocs
@@ -13,7 +13,7 @@ sub collectthing()
if (/\.([^.]+)$/) {
my $ext=$1;
if (" h H hh hxx h++ " =~ / $ext /) {
- my $line=`grep -l '^[{ \t]*Q_OBJECT' $_ 2> /dev/null`;
+ my $line=`grep -l '^[{ \t]*TQ_OBJECT' $_ 2> /dev/null`;
chomp($line);
if ($line) {
$dir2files{$File::Find::dir}->{headers}->{$_} = 1;