From 8eb500c4e81229a9853e2f9bac4f39450083f3d7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:36:09 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- win/qeventloopex.h | 2 +- win/tools/kmoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'win') diff --git a/win/qeventloopex.h b/win/qeventloopex.h index 648ddf228..2fed3ecf9 100644 --- a/win/qeventloopex.h +++ b/win/qeventloopex.h @@ -30,7 +30,7 @@ class QEventLoopExPrivate; class QEventLoopEx : public TQEventLoop { - Q_OBJECT + TQ_OBJECT public: QEventLoopEx( TQObject *parent = 0, const char *name = 0 ); 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 -- cgit v1.2.1