summaryrefslogtreecommitdiffstats
path: root/win/tools/kmoc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 15:36:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 19:46:54 +0900
commit55cd4e5c5697a37d6845e2f056a16c512799023c (patch)
tree931f7e94f3a152b1bc24f3e676b5eb6651064d6b /win/tools/kmoc
parent5c2b0a1494b04e420a342ea5bae7699a812af82c (diff)
downloadtdelibs-55cd4e5c5697a37d6845e2f056a16c512799023c.tar.gz
tdelibs-55cd4e5c5697a37d6845e2f056a16c512799023c.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8eb500c4e81229a9853e2f9bac4f39450083f3d7)
Diffstat (limited to 'win/tools/kmoc')
-rwxr-xr-xwin/tools/kmoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tools/kmoc b/win/tools/kmoc
index 2fef8ea60..8e79c8246 100755
--- a/win/tools/kmoc
+++ b/win/tools/kmoc
@@ -6,7 +6,7 @@
mkdir -p moc
find . -maxdepth 1 -name \*.h | while read ; do
- grep Q_OBJECT $REPLY > /dev/null || continue
+ grep TQ_OBJECT $REPLY > /dev/null || continue
moc=moc/`echo $REPLY | sed -e "s/\\.h/\\.moc/;s/\\.\\///"`
if [ $moc -ot $REPLY ] ; then echo mocing $REPLY... ; moc $REPLY -o $moc ; fi
done