diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:24:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:40:15 +0900 |
commit | 6cbdd25dc4c6b0987636b37b2046b1b9464e3d60 (patch) | |
tree | 9d9cf23f242f2da29a51808d0ff40964bf787ccb /pytqlupdate3/fetchtr.cpp | |
parent | f1918cc46e3124a613c6f724562b2e903f436f43 (diff) | |
download | pytqt-6cbdd25dc4c6b0987636b37b2046b1b9464e3d60.tar.gz pytqt-6cbdd25dc4c6b0987636b37b2046b1b9464e3d60.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'pytqlupdate3/fetchtr.cpp')
-rw-r--r-- | pytqlupdate3/fetchtr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pytqlupdate3/fetchtr.cpp b/pytqlupdate3/fetchtr.cpp index 0127394..9c66a2f 100644 --- a/pytqlupdate3/fetchtr.cpp +++ b/pytqlupdate3/fetchtr.cpp @@ -332,9 +332,9 @@ static bool matchEncoding( bool *utf8 ) } *utf8 = TQString( yyIdent ).endsWith( TQString("UTF8") ); yyTok = getToken(); - return TRUE; + return true; } else { - return FALSE; + return false; } } @@ -347,7 +347,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, TQCString com; TQCString functionContext = initialContext; TQCString prefix; - bool utf8 = FALSE; + bool utf8 = false; yyTok = getToken(); while ( yyTok != Tok_Eof ) { @@ -382,7 +382,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, } break; case Tok_translate: - utf8 = FALSE; + utf8 = false; yyTok = getToken(); if ( match(Tok_LeftParen) && matchString(&context) && @@ -420,7 +420,7 @@ static void parse( MetaTranslator *tor, const char *initialContext, context = com.left( k ); com.remove( 0, k + 1 ); tor->insert( MetaTranslatorMessage(context, "", com, - TQString::null, FALSE) ); + TQString::null, false) ); } } yyTok = getToken(); |