summaryrefslogtreecommitdiffstats
path: root/pytqlupdate3/fetchtr.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:24:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 21:11:58 +0900
commit2d2a66210c4827dd2469d4fde55bf2c9aab81b5a (patch)
tree8a1b99c230b11fb6e679434055553504620119c7 /pytqlupdate3/fetchtr.cpp
parentf89d120a2d4982896f0b5c00cee347a010f609a9 (diff)
downloadpytqt-r14.1.4.tar.gz
pytqt-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6cbdd25dc4c6b0987636b37b2046b1b9464e3d60)
Diffstat (limited to 'pytqlupdate3/fetchtr.cpp')
-rw-r--r--pytqlupdate3/fetchtr.cpp10
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();