summaryrefslogtreecommitdiffstats
path: root/tools/designer/editor/yyindent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/editor/yyindent.cpp')
-rw-r--r--tools/designer/editor/yyindent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/designer/editor/yyindent.cpp b/tools/designer/editor/yyindent.cpp
index f0014d37b..11adb7f94 100644
--- a/tools/designer/editor/yyindent.cpp
+++ b/tools/designer/editor/yyindent.cpp
@@ -72,7 +72,7 @@
#include <ntqregexp.h>
-/* qmake ignore Q_OBJECT */
+/* qmake ignore TQ_OBJECT */
/*
The indenter avoids getting stuck in almost infinite loops by
@@ -629,9 +629,9 @@ static bool isUnfinishedLine()
if ( TQString("{};").find(lastCh) == -1 && !yyLine->endsWith("...") ) {
/*
It doesn't end with ';' or similar. If it's neither
- "Q_OBJECT" nor "if ( x )", it must be an unfinished line.
+ "TQ_OBJECT" nor "if ( x )", it must be an unfinished line.
*/
- unf = ( yyLine->contains("Q_OBJECT") == 0 &&
+ unf = ( yyLine->contains("TQ_OBJECT") == 0 &&
!matchBracelessControlStatement() );
} else if ( lastCh == TQChar(';') ) {
if ( lastParen(*yyLine) == TQChar('(') ) {