diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /tools/designer/editor/yyindent.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'tools/designer/editor/yyindent.cpp')
-rw-r--r-- | tools/designer/editor/yyindent.cpp | 6 |
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('(') ) { |